diff --git a/net-snmp.spec b/net-snmp.spec index 802371d..0ad2811 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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 want to use this interactive utility. %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 - 1:5.5-9 +- require perl(:MODULE_COMPAT_5.10.x) because the package links against + libperl.so + * Tue Jan 5 2010 Jan Safranek - 1:5.5-8 - fix invalid access to memory in tcpListenerTable (#551030)