[packages/powernap] install powerwaked config, move related files to subpkg
glen
glen at pld-linux.org
Sun Nov 13 10:33:06 CET 2016
commit bedf5b4720808e7087587979eb6c9dbfa23c75f5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Apr 4 00:36:43 2016 +0300
install powerwaked config, move related files to subpkg
from debian/powerwaked.install
powernap.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/powernap.spec b/powernap.spec
index 2cf84a6..ca5ff08 100644
--- a/powernap.spec
+++ b/powernap.spec
@@ -1,7 +1,7 @@
Summary: Powernap
Name: powernap
Version: 2.20
-Release: 0.2
+Release: 0.3
License: GPL
Group: Applications/System
Source0: https://launchpad.net/powernap/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
@@ -59,6 +59,7 @@ install -p bin/* $RPM_BUILD_ROOT%{_bindir}
cp -a powernap-ethtool $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -p powerwake_completion $RPM_BUILD_ROOT/etc/bash_completion.d
cp -p action config $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+cp -p powerwaked.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
cp -a actions/pm/* $RPM_BUILD_ROOT/etc/pm/power.d
cp -a powernap $RPM_BUILD_ROOT%{py_sitescriptdir}
cp -a man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
@@ -88,16 +89,12 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_sbindir}/powernap-action
%attr(755,root,root) %{_sbindir}/powernap-now
%attr(755,root,root) %{_sbindir}/powernapd
-%attr(755,root,root) %{_sbindir}/powerwake-monitor
-%attr(755,root,root) %{_sbindir}/powerwake-now
-%attr(755,root,root) %{_sbindir}/powerwaked
%attr(755,root,root) %{_bindir}/powernap_calculator
%{_mandir}/man1/powernap_calculator.1*
%{_mandir}/man8/powernap-action.8*
%{_mandir}/man8/powernap-now.8*
%{_mandir}/man8/powernap.8*
%{_mandir}/man8/powernapd.8*
-%{_mandir}/man8/powerwake-now.8*
%dir %{_datadir}/%{name}
%attr(755,root,root) %{_datadir}/%{name}/powernap-ethtool
@@ -110,6 +107,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n powerwake
%defattr(644,root,root,755)
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/powerwaked.conf
%attr(755,root,root) %{_bindir}/powerwake
+%attr(755,root,root) %{_sbindir}/powerwake-monitor
+%attr(755,root,root) %{_sbindir}/powerwake-now
+%attr(755,root,root) %{_sbindir}/powerwaked
%{_mandir}/man1/powerwake.1*
+%{_mandir}/man8/powerwake-now.8*
/etc/bash_completion.d/powerwake_completion
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/powernap.git/commitdiff/bedf5b4720808e7087587979eb6c9dbfa23c75f5
More information about the pld-cvs-commit
mailing list