add Requires for versioned perl (libperl.so)
This commit is contained in:
parent
4f5961a573
commit
3433e6a207
@ -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 <tcallawa@redhat.com> 5.4.1-14
|
||||
- add Requires for versioned perl (libperl.so)
|
||||
- get rid of silly file Requires
|
||||
|
||||
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 5.4.1-13
|
||||
- BR: perl(ExtUtils::Embed)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user