From 1014bdfe60f86dd1c4baf319218ac7a5132a16c7 Mon Sep 17 00:00:00 2001 From: hawk Date: Thu, 16 Feb 2012 21:55:31 +0000 Subject: - doh, fixed libnutscan packaging Changed files: nut.spec -> 1.174 diff --git a/nut.spec b/nut.spec index 8282a6e..1290e01 100644 --- a/nut.spec +++ b/nut.spec @@ -12,7 +12,7 @@ Summary: Network UPS Tools 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 @@ -250,9 +250,13 @@ EOF 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 @@ -297,6 +301,7 @@ fi %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 -- cgit v0.10.2