packages: trac/trac.spec - use real cgi/fcgi scripts, not templates to inst...

glen glen at pld-linux.org
Tue Aug 24 12:39:14 CEST 2010


Author: glen                         Date: Tue Aug 24 10:39:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use real cgi/fcgi scripts, not templates to install; rel 4

---- Files affected:
packages/trac:
   trac.spec (1.88 -> 1.89) 

---- Diffs:

================================================================
Index: packages/trac/trac.spec
diff -u packages/trac/trac.spec:1.88 packages/trac/trac.spec:1.89
--- packages/trac/trac.spec:1.88	Wed Aug 11 21:48:28 2010
+++ packages/trac/trac.spec	Tue Aug 24 12:39:09 2010
@@ -17,7 +17,7 @@
 Summary(pl.UTF-8):	Zintegrowane scm, wiki, system śledzenia problemów i środowisko projektowe
 Name:		trac
 Version:	0.12
-Release:	3
+Release:	4
 License:	BSD-like
 Group:		Applications/WWW
 Source0:	http://ftp.edgewall.com/pub/trac/Trac-%{version}.tar.gz
@@ -121,10 +121,8 @@
 # webserver config each time with the upgrade.
 install -d $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 mv $RPM_BUILD_ROOT{%{py_sitescriptdir}/trac,%{_appdir}}/htdocs
-for a in $RPM_BUILD_ROOT%{py_sitescriptdir}/trac/admin/templates/deploy_trac.*; do
-	%{__sed} -i -e 's,${executable},%{__python},g' $a
-	mv $a $RPM_BUILD_ROOT%{_appdir}/cgi-bin/${a##*deploy_}
-done
+
+install -p cgi-bin/trac.*  $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 
 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/trac.ini
 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_appdir}/htdocs/%{name}.ico
@@ -211,8 +209,8 @@
 
 %dir %{_appdir}
 %dir %{_appdir}/cgi-bin
-%attr(755,root,root) %{_appdir}/cgi-bin/trac.*cgi
-%attr(755,root,root) %{_appdir}/cgi-bin/trac.wsgi
+%attr(755,root,root) %{_appdir}/cgi-bin/trac.cgi
+%attr(755,root,root) %{_appdir}/cgi-bin/trac.fcgi
 %dir %{_appdir}/htdocs
 %{_appdir}/htdocs/README
 %{_appdir}/htdocs/*.gif
@@ -258,6 +256,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.89  2010/08/24 10:39:09  glen
+- use real cgi/fcgi scripts, not templates to install; rel 4
+
 Revision 1.88  2010/08/11 19:48:28  zbyniu
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac/trac.spec?r1=1.88&r2=1.89&f=u



More information about the pld-cvs-commit mailing list