[packages/pykota] - release 11 (by relup.sh)

glen glen at pld-linux.org
Fri Aug 21 13:32:40 CEST 2015


commit 42541327c7d2ea61e0132ffad240e5d2fe461934
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 21 14:32:37 2015 +0300

    - release 11 (by relup.sh)

 pykota.spec | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/pykota.spec b/pykota.spec
index a9d71bd..37935b3 100644
--- a/pykota.spec
+++ b/pykota.spec
@@ -1,4 +1,3 @@
-#
 # NOTE:
 #	- only apache is supported (feel free to add support for other httpds)
 #	- CGI scripts must be run with uid/gid pykota/pykota privs
@@ -6,12 +5,12 @@
 #
 # Conditional build:
 %bcond_without	doc	# don't build HTML/PDF documentation
-#
+
 Summary:	Print Quota and Accounting Software Solution
 Summary(pl.UTF-8):	Narzędzie do limitowania i rozliczania wydruków
 Name:		pykota
 Version:	1.26
-Release:	10
+Release:	11
 License:	GPL v2
 Group:		Applications/Printing
 # NOTE: from svn:
@@ -204,16 +203,16 @@ python setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-install cgi-bin/*.cgi $RPM_BUILD_ROOT%{httpdir}/cgi-bin/%{name}
-install stylesheets/pykota.css $RPM_BUILD_ROOT%{httpdir}/cgi-bin/%{name}
+install -p cgi-bin/*.cgi $RPM_BUILD_ROOT%{httpdir}/cgi-bin/%{name}
+install -p stylesheets/pykota.css $RPM_BUILD_ROOT%{httpdir}/cgi-bin/%{name}
 
-install initscripts/ldap/pykota.schema $RPM_BUILD_ROOT%{schemadir}
+cp -p initscripts/ldap/pykota.schema $RPM_BUILD_ROOT%{schemadir}
 
-install conf/pykota.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pykota.conf
-install conf/pykotadmin.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pykotadmin.conf
+cp -p conf/pykota.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pykota.conf
+cp -p conf/pykotadmin.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pykotadmin.conf
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
-install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
 
 ln -s %{_datadir}/%{name}/cupspykota $RPM_BUILD_ROOT%{cups_serverbin}/backend/cupspykota
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pykota.git/commitdiff/42541327c7d2ea61e0132ffad240e5d2fe461934



More information about the pld-cvs-commit mailing list