From 3433e6a20758d9f142a58b74614b056392e48cbc Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 18 Mar 2008 18:29:49 +0000 Subject: [PATCH] add Requires for versioned perl (libperl.so) --- net-snmp.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 2143954..f336cf4 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -7,7 +7,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 13%{?dist} +Release: 14%{?dist} Epoch: 1 License: BSD and MIT @@ -41,11 +41,14 @@ Patch15: net-snmp-5.1.2-snmpconf-selinux.patch Patch16: net-snmp-5.4.1-sensors3.patch Patch17: net-snmp-5.4.1-xen-crash.patch -Requires(pre): /sbin/chkconfig -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig -Requires(preun): /sbin/service -Requires(preun): /bin/rm +Requires(pre): chkconfig +Requires(post): chkconfig +Requires(preun): chkconfig +# for /sbin/service +Requires(preun): initscripts +# for /bin/rm +Requires(preun): coreutils +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel, bzip2-devel, elfutils-devel BuildRequires: libselinux-devel, elfutils-libelf-devel, rpm-devel @@ -384,6 +387,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Tue Mar 18 2008 Tom "spot" Callaway 5.4.1-14 +- add Requires for versioned perl (libperl.so) +- get rid of silly file Requires + * Thu Mar 6 2008 Tom "spot" Callaway 5.4.1-13 - BR: perl(ExtUtils::Embed)