rpms/net-snmp/devel net-snmp.spec,1.203,1.204

Štěpán Kasal kasal at fedoraproject.org
Tue Jan 12 11:37:44 UTC 2010


Author: kasal

Update of /cvs/extras/rpms/net-snmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11811

Modified Files:
	net-snmp.spec 
Log Message:
- require perl(:MODULE_COMPAT_5.10.x) because the package links against
  libperl.so


Index: net-snmp.spec
===================================================================
RCS file: /cvs/extras/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -p -r1.203 -r1.204
--- net-snmp.spec	12 Jan 2010 09:22:08 -0000	1.203
+++ net-snmp.spec	12 Jan 2010 11:37:42 -0000	1.204
@@ -11,7 +11,7 @@
 Summary: A collection of SNMP protocol tools and libraries
 Name: net-snmp
 Version: 5.5
-Release: 8%{?dist}
+Release: 9%{?dist}
 Epoch: 1
 
 License: BSD and MIT
@@ -108,7 +108,7 @@ packages installed.
 Group: Development/Libraries
 Summary: The perl NET-SNMP module and the mib2c tool
 Requires: %{name}-libs = %{epoch}:%{version}-%{release}, perl >= 5
-BuildRequires: perl >= 5
+BuildRequires: perl
 
 %description perl
 The net-snmp-perl package contains the perl files to use SNMP from within
@@ -133,6 +133,8 @@ Install the net-snmp-gui package, if you
 %package libs
 Group: Development/Libraries
 Summary: The NET-SNMP runtime libraries
+# the libs link against libperl.so:
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description libs
 The net-snmp-libs package contains the runtime libraries for shared binaries
@@ -404,6 +406,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_datadir}/snmp/mibs/*
 
 %changelog
+* Tue Jan 12 2010 Stepan Kasal <skasal at redhat.com> - 1:5.5-9
+- require perl(:MODULE_COMPAT_5.10.x) because the package links against
+  libperl.so
+
 * Tue Jan  5 2010 Jan Safranek <jsafrane at redhat.com> - 1:5.5-8
 - fix invalid access to memory in tcpListenerTable (#551030)
 



More information about the scm-commits mailing list