further tune up the distribution of files among subpackages and
dependencies Resolves: #462484
This commit is contained in:
parent
b7534e1095
commit
f01c973560
@ -8,7 +8,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: %{major_ver}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD and MIT
|
||||
@ -79,7 +79,7 @@ Building option:
|
||||
%package utils
|
||||
Group: Applications/System
|
||||
Summary: Network management utilities using SNMP, from the NET-SNMP project
|
||||
Requires: %{name} = %{epoch}:%{version}
|
||||
Requires: %{name}-libs = %{epoch}:%{version}
|
||||
|
||||
%description utils
|
||||
The net-snmp-utils package contains various utilities for use with the
|
||||
@ -92,7 +92,7 @@ package.
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: The development environment for the NET-SNMP project
|
||||
Requires: %{name} = %{epoch}:%{version}
|
||||
Requires: %{name}-libs = %{epoch}:%{version}
|
||||
Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel
|
||||
%if %{tcp_wrappers}
|
||||
Requires: tcp_wrappers-devel
|
||||
@ -114,7 +114,7 @@ packages installed.
|
||||
%package perl
|
||||
Group: Development/Libraries
|
||||
Summary: The perl NET-SNMP module and the mib2c tool
|
||||
Requires: %{name} = %{epoch}:%{version}, perl >= 5
|
||||
Requires: %{name}-libs = %{epoch}:%{version}, perl >= 5
|
||||
BuildRequires: perl >= 5
|
||||
|
||||
%description perl
|
||||
@ -362,7 +362,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_bindir}/ipf-mod.pl
|
||||
%{_bindir}/snmpconf
|
||||
%{_sbindir}/*
|
||||
%attr(0644,root,root) %{_mandir}/man[58]/snmp*
|
||||
%attr(0644,root,root) %{_mandir}/man[58]/snmp*d*
|
||||
%attr(0644,root,root) %{_mandir}/man5/snmp_config.5.gz
|
||||
%attr(0644,root,root) %{_mandir}/man5/variables*
|
||||
%{_datadir}/snmp/snmpconf-data
|
||||
|
||||
@ -372,6 +373,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_bindir}/snmp[^c]*
|
||||
%attr(0644,root,root) %{_mandir}/man1/snmp*.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
|
||||
%attr(0644,root,root) %{_mandir}/man5/snmp.conf.5.gz
|
||||
%attr(0644,root,root) %{_mandir}/man5/variables.5.gz
|
||||
|
||||
|
||||
%files devel
|
||||
@ -410,6 +413,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_datadir}/snmp/mibs
|
||||
|
||||
%changelog
|
||||
* Fri Sep 26 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2-3
|
||||
- further tune up the distribution of files among subpackages
|
||||
and dependencies
|
||||
|
||||
* Fri Sep 26 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2-2
|
||||
- redistribute the perl scripts to the net-snmp package,
|
||||
net-snmp-utils doesn't depend on perl now (#462484)
|
||||
|
Loading…
Reference in New Issue
Block a user