SPECS: python-subway.spec - add missing R, fix subway_create.py.

arekm arekm at pld-linux.org
Tue Dec 20 00:44:01 CET 2005


Author: arekm                        Date: Mon Dec 19 23:44:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add missing R, fix subway_create.py.

---- Files affected:
SPECS:
   python-subway.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-subway.spec
diff -u SPECS/python-subway.spec:1.3 SPECS/python-subway.spec:1.4
--- SPECS/python-subway.spec:1.3	Tue Dec 20 00:21:00 2005
+++ SPECS/python-subway.spec	Tue Dec 20 00:43:56 2005
@@ -19,6 +19,7 @@
 Requires:	python-cherrypy
 Requires:	python-FormEncode
 Requires:	python-SQLObject
+Requires:	python-statesaver
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -51,12 +52,16 @@
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_postclean
 
+mv $RPM_BUILD_ROOT%{_bindir}/subway_create.py $RPM_BUILD_ROOT%{_bindir}/subway_create.py.org
+echo '#!/usr/bin/python' > $RPM_BUILD_ROOT%{_bindir}/subway_create.py
+cat $RPM_BUILD_ROOT%{_bindir}/subway_create.py.org >> $RPM_BUILD_ROOT%{_bindir}/subway_create.py
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/*.py
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/*egg*
 
@@ -66,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/12/19 23:43:56  arekm
+- add missing R, fix subway_create.py.
+
 Revision 1.3  2005/12/19 23:21:00  arekm
 - use new setuptools way; missing R; updated
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-subway.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list