rpms/net-snmp/devel net-snmp.spec,1.185,1.186
Orion Poplawski
orion at fedoraproject.org
Fri Aug 14 20:29:28 UTC 2009
Author: orion
Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8411
Modified Files:
net-snmp.spec
Log Message:
* Fri Aug 14 2009 Orion Poplawski <orion at cora.nwra.com> 1:5.4.2.1-15
- Prevent post script failure on fresh installs
Index: net-snmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -p -r1.185 -r1.186
--- net-snmp.spec 25 Jul 2009 17:59:37 -0000 1.185
+++ net-snmp.spec 14 Aug 2009 20:29:28 -0000 1.186
@@ -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=Cha
/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 <orion at cora.nwra.com> 1:5.4.2.1-15
+- Prevent post script failure on fresh installs
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:5.4.2.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list