]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
net-snmp: Don't remove RPATHs so agressively.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Jun 2013 09:44:21 +0000 (11:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Jun 2013 09:44:21 +0000 (11:44 +0200)
The net-snmp libs and binaries need to find libperl.so.

Fixes #10333.

net-snmp/net-snmp.nm

index 5bc5ec2df93234ad853a1f801f7c29c06779e7a9..8b2a7faac86b7c705fe8289d3903c5db3eb8a653 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = net-snmp
 version    = 5.7.2
-release    = 1
+release    = 2
 
 groups     = Networking/Daemons
 url        = http://net-snmp.sourceforge.net
@@ -115,7 +115,7 @@ build
                mkdir -pv %{BUILDROOT}%{localstatedir}/{lib,run}/net-snmp
 
                # Remove more RPATHs.
-               find %{BUILDROOT}{%{bindir},%{sbindir},%{libdir}} -type f -print \
+               find %{BUILDROOT}%{bindir} -type f -print \
                        -exec chrpath --delete {} \;
        end
 end
@@ -163,6 +163,10 @@ packages
 
        package %{name}-devel
                template DEVEL
+
+               requires
+                       lm-sensors-devel
+               end
        end
 
        package %{name}-debuginfo