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
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: %{major_ver}
|
Version: %{major_ver}
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and MIT
|
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
|
Patch16: net-snmp-5.4.1-sensors3.patch
|
||||||
Patch17: net-snmp-5.4.1-xen-crash.patch
|
Patch17: net-snmp-5.4.1-xen-crash.patch
|
||||||
|
|
||||||
Requires(pre): /sbin/chkconfig
|
Requires(pre): chkconfig
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): /sbin/chkconfig
|
Requires(preun): chkconfig
|
||||||
Requires(preun): /sbin/service
|
# for /sbin/service
|
||||||
Requires(preun): /bin/rm
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: openssl-devel, bzip2-devel, elfutils-devel
|
BuildRequires: openssl-devel, bzip2-devel, elfutils-devel
|
||||||
BuildRequires: libselinux-devel, elfutils-libelf-devel, rpm-devel
|
BuildRequires: libselinux-devel, elfutils-libelf-devel, rpm-devel
|
||||||
@ -384,6 +387,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 5.4.1-13
|
||||||
- BR: perl(ExtUtils::Embed)
|
- BR: perl(ExtUtils::Embed)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user