packages: nut/nut.spec - doh, fixed libnutscan packaging
hawk
hawk at pld-linux.org
Thu Feb 16 22:55:36 CET 2012
Author: hawk Date: Thu Feb 16 21:55:36 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- doh, fixed libnutscan packaging
---- Files affected:
packages/nut:
nut.spec (1.173 -> 1.174)
---- Diffs:
================================================================
Index: packages/nut/nut.spec
diff -u packages/nut/nut.spec:1.173 packages/nut/nut.spec:1.174
--- packages/nut/nut.spec:1.173 Thu Feb 16 22:37:39 2012
+++ packages/nut/nut.spec Thu Feb 16 22:55:31 2012
@@ -13,7 +13,7 @@
Summary(pl.UTF-8): Sieciowe narzędzie do UPS-ów
Name: nut
Version: 2.6.3
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Source0: http://www.networkupstools.org/source/2.6/%{name}-%{version}.tar.gz
@@ -251,9 +251,13 @@
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/ldconfig
/sbin/chkconfig --add ups
%service ups restart "NUT ups daemon"
+%postun
+/sbin/ldconfig
+
%preun
if [ "$1" = "0" ]; then
%service ups stop
@@ -298,6 +302,7 @@
%attr(755,root,root) %{_sbindir}/upsd
%attr(755,root,root) /sbin/poweroff-ups
%attr(755,root,root) %ghost %{_libdir}/libnutscan.so.1
+%attr(755,root,root) %{_libdir}/libnutscan.so.*.*.*
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ups
%attr(754,root,root) /etc/rc.d/init.d/ups
%attr(640,root,ups) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nut.conf
@@ -471,6 +476,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.174 2012/02/16 21:55:31 hawk
+- doh, fixed libnutscan packaging
+
Revision 1.173 2012/02/16 21:37:39 hawk
- updated to 2.6.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nut/nut.spec?r1=1.173&r2=1.174&f=u
More information about the pld-cvs-commit
mailing list