Author: glen Date: Tue Dec 20 00:37:57 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - use sed to insert shebang - tabs, formatting
---- Files affected: SPECS: python-subway.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/python-subway.spec diff -u SPECS/python-subway.spec:1.5 SPECS/python-subway.spec:1.6 --- SPECS/python-subway.spec:1.5 Tue Dec 20 00:56:18 2005 +++ SPECS/python-subway.spec Tue Dec 20 01:37:51 2005 @@ -14,18 +14,19 @@ # Source0-md5: 4d439e2825479dda68eff179f07da223 URL: http://subway.python-hosting.com/ BuildRequires: python +BuildRequires: sed >= 4.0 %pyrequires_eq python-modules -Requires: python-cheetah -Requires: python-cherrypy Requires: python-FormEncode Requires: python-SQLObject +Requires: python-cheetah +Requires: python-cherrypy Requires: python-statesaver BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -The Subway project aims to create a Web development stack combining the -ideas and spirit of Ruby on Rails with a comprehensive suite of +The Subway project aims to create a Web development stack combining +the ideas and spirit of Ruby on Rails with a comprehensive suite of prewritten Python web libraries and tools. %description -l pl @@ -45,18 +46,15 @@ python ./setup.py install \ --single-version-externally-managed \ - --optimize 2 \ - --root=$RPM_BUILD_ROOT + --optimize 2 \ + --root=$RPM_BUILD_ROOT %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} mv $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/skeleton $RPM_BUILD_ROOT %py_postclean -mv $RPM_BUILD_ROOT/skeleton $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/ - -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 +mv $RPM_BUILD_ROOT/skeleton $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} +sed -i -e '1i#!%{__python}' $RPM_BUILD_ROOT%{_bindir}/subway_create.py %clean rm -rf $RPM_BUILD_ROOT @@ -73,6 +71,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2005/12/20 00:37:51 glen +- use sed to insert shebang +- tabs, formatting + Revision 1.5 2005/12/19 23:56:18 arekm - leave skeleton intact ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/python-subway.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
