From b7b0a43307d8b15b54c60be0580b99f97394bf7f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Aug 14 2009 20:29:28 +0000 Subject: - Prevent post script failure on fresh installs --- diff --git a/net-snmp.spec b/net-snmp.spec index 961c8fe..251ccd3 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -8,7 +8,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 License: BSD and MIT @@ -331,7 +331,7 @@ dd bs=1024 count=250 if=ChangeLog of=ChangeLog.trimmed /sbin/chkconfig --add snmptrapd # move local state files from /var/net-snmp to new location when updating the package -mv %{_localstatedir}/net-snmp/* %{_localstatedir}/lib/net-snmp/ &>/dev/null +mv %{_localstatedir}/net-snmp/* %{_localstatedir}/lib/net-snmp/ &>/dev/null || : %preun if [ $1 = 0 ]; then @@ -429,6 +429,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/snmp/mibs %changelog +* Fri Aug 14 2009 Orion Poplawski 1:5.4.2.1-15 +- Prevent post script failure on fresh installs + * Sat Jul 25 2009 Fedora Release Engineering - 1:5.4.2.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild