diff options
author | hawk | 2012-02-16 21:55:31 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 1014bdfe60f86dd1c4baf319218ac7a5132a16c7 (patch) | |
tree | 14a7e4f694826c016080680907164646d015d869 | |
parent | aea10c66d98b3124a1e327988c51874c63a57e75 (diff) | |
download | nut-1014bdfe60f86dd1c4baf319218ac7a5132a16c7.zip nut-1014bdfe60f86dd1c4baf319218ac7a5132a16c7.tar.gz |
- doh, fixed libnutscan packagingauto/ti/nut-2_6_3-2auto/th/nut-2_6_3-2
Changed files:
nut.spec -> 1.174
-rw-r--r-- | nut.spec | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |