spec file cleanups

This commit is contained in:
Radek Vokál 2006-11-28 12:51:46 +00:00
parent 1354a251f3
commit 7cae732405

View File

@ -4,7 +4,7 @@
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 %define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
%define major_ver 5.4 %define major_ver 5.4
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: 1%{?dist} Release: 1%{?dist}
@ -32,18 +32,18 @@ Patch7: net-snmp-5.2.1-file_offset.patch
Patch8: net-snmp-5.3.1-multilib.patch Patch8: net-snmp-5.3.1-multilib.patch
Patch9: net-snmp-5.4-config_libdir.patch Patch9: net-snmp-5.4-config_libdir.patch
Prereq: /sbin/chkconfig Requires(pre): /sbin/chkconfig
Obsoletes: ucd-snmp Obsoletes: ucd-snmp
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
BuildPrereq: openssl-devel, bzip2-devel, beecrypt-devel, elfutils-devel BuildRequires: openssl-devel, bzip2-devel, beecrypt-devel, elfutils-devel
BuildPrereq: libselinux-devel, elfutils-libelf-devel BuildRequires: libselinux-devel, elfutils-libelf-devel
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildPrereq: lm_sensors-devel BuildRequires: lm_sensors-devel
%endif %endif
%if %{tcp_wrappers} %if %{tcp_wrappers}
BuildPrereq: tcp_wrappers BuildRequires: tcp_wrappers
%endif %endif
BuildPrereq: perl, coreutils, grep, sed, findutils BuildRequires: perl, coreutils, grep, sed, findutils
#%define __libtoolize /bin/true #%define __libtoolize /bin/true
%{expand: %%define _includedir %{_includedir}/%{name}} %{expand: %%define _includedir %{_includedir}/%{name}}
@ -342,7 +342,7 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%changelog %changelog
* Mon Nov 27 2006 Radek Vokál <rvokal@redhat.com> - 5.4-1 * Mon Nov 27 2006 Radek Vokal <rvokal@redhat.com> - 5.4-1
- upgrade to 5.4 - upgrade to 5.4
- patch cleanup - patch cleanup
- snmpd uses /var/run/snmpd.pid (#211264) - snmpd uses /var/run/snmpd.pid (#211264)
@ -806,7 +806,7 @@ rm -rf ${RPM_BUILD_ROOT}
- update to 4.2.4 final - update to 4.2.4 final
* Sat Apr 13 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-5 * Sat Apr 13 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-5
- Added some missing files to the %files section. - Added some missing files to the %%files section.
* Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-4 * Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com> 4.2.4.pre3-4
- Hardcoded the ETC_MNTTAB to point to "/etc/mtab". - Hardcoded the ETC_MNTTAB to point to "/etc/mtab".
@ -878,7 +878,7 @@ rm -rf ${RPM_BUILD_ROOT}
* Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de> * Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
- Updated to 4.2.1. Removed 2 obsolete patches (fromcvs and #18153) - Updated to 4.2.1. Removed 2 obsolete patches (fromcvs and #18153)
- Include /usr/share/snmp/snmpconf in %files - Include /usr/share/snmp/snmpconf in %%files
* Wed Jun 13 2001 Than Ngo <than@redhat.com> * Wed Jun 13 2001 Than Ngo <than@redhat.com>
- fix to use libwrap in distro - fix to use libwrap in distro
@ -913,7 +913,7 @@ rm -rf ${RPM_BUILD_ROOT}
- fixed initscript, for reload and restart it was start then stop, - fixed initscript, for reload and restart it was start then stop,
fixed. (#28477) fixed. (#28477)
* Fri Feb 2 2001 Trond Eivind Glomsrød <teg@redhat.com> * Fri Feb 2 2001 Trond Eivind Glomsrod <teg@redhat.com>
- i18nize initscript - i18nize initscript
* Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com> * Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com>
@ -961,7 +961,7 @@ rm -rf ${RPM_BUILD_ROOT}
- FHS packaging. - FHS packaging.
- patch for rpm 4.0. - patch for rpm 4.0.
* Thu May 18 2000 Trond Eivind Glomsrød <teg@redhat.com> * Thu May 18 2000 Trond Eivind Glomsrod <teg@redhat.com>
- add version to buildroot - add version to buildroot
- rebuilt with new libraries - rebuilt with new libraries
@ -975,7 +975,7 @@ rm -rf ${RPM_BUILD_ROOT}
- update to 4.1.1 - update to 4.1.1
* Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com> * Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- change %postun to %preun - change %%postun to %%preun
* Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com> * Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com>
- Don't ship tkmib, since we don't ship the perl modules needed to run it. - Don't ship tkmib, since we don't ship the perl modules needed to run it.