prepare for new rpm version

This commit is contained in:
Jan Šafránek 2008-07-11 10:29:30 +00:00
parent 8f6b993902
commit de6bc90baf

View File

@ -1,5 +1,7 @@
%{!?tcp_wrappers:%define tcp_wrappers 1} %{!?tcp_wrappers:%define tcp_wrappers 1}
%define _default_patch_fuzz 2
# Arches on which we need to prevent arch conflicts on net-snmp-config.h # Arches on which we need to prevent arch conflicts on net-snmp-config.h
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64 %define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
%define major_ver 5.4.1 %define major_ver 5.4.1
@ -7,7 +9,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: 19%{?dist} Release: 20%{?dist}
Epoch: 1 Epoch: 1
License: BSD and MIT License: BSD and MIT
@ -193,7 +195,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
%configure \ %configure \
--enable-static --enable-shared \ --enable-static --enable-shared \
--with-cflags="$RPM_OPT_FLAGS" \ --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \
--with-ldflags="$LDFLAGS -lcrypto -lsensors" \ --with-ldflags="$LDFLAGS -lcrypto -lsensors" \
--with-sys-location="Unknown" \ --with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \ --with-logfile="/var/log/snmpd.log" \
@ -389,6 +391,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%changelog %changelog
* Fri Jul 11 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-20
- prepare for new rpm version
* Tue Jun 10 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-19 * Tue Jun 10 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-19
- fix various flaws (CVE-2008-2292 CVE-2008-0960) - fix various flaws (CVE-2008-2292 CVE-2008-0960)