[packages/apcupsd] move cgi related files to cgi subpackage
glen
glen at pld-linux.org
Wed Sep 16 16:11:49 CEST 2015
commit c7c2580f40811cab6e9c0c457e687289210a8cd3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 16 17:11:39 2015 +0300
move cgi related files to cgi subpackage
apcupsd.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/apcupsd.spec b/apcupsd.spec
index d0a9277..394afbb 100644
--- a/apcupsd.spec
+++ b/apcupsd.spec
@@ -191,11 +191,6 @@ fi
#%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mainsback
%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/onbattery
%attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/offbattery
-%if %{with cgi}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hosts.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/multimon.conf
-%{_sysconfdir}/apcupsd.css
-%endif
%attr(754,root,root) /etc/rc.d/init.d/apcupsd
%attr(754,root,root) /etc/rc.d/init.d/halt
%{systemdunitdir}/%{name}.service
@@ -214,6 +209,9 @@ fi
%if %{with cgi}
%files cgi
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hosts.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/multimon.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apcupsd.css
%attr(755,root,root) %{_cgidir}/*.cgi
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apcupsd.git/commitdiff/c7c2580f40811cab6e9c0c457e687289210a8cd3
More information about the pld-cvs-commit
mailing list