SPECS: python.spec - rm -rf %{py_scriptdir}/test to cut down check...

glen glen at pld-linux.org
Wed Jan 25 23:13:39 CET 2006


Author: glen                         Date: Wed Jan 25 22:13:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rm -rf %{py_scriptdir}/test to cut down check-files noise

---- Files affected:
SPECS:
   python.spec (1.246 -> 1.247) 

---- Diffs:

================================================================
Index: SPECS/python.spec
diff -u SPECS/python.spec:1.246 SPECS/python.spec:1.247
--- SPECS/python.spec:1.246	Wed Jan 25 23:05:58 2006
+++ SPECS/python.spec	Wed Jan 25 23:13:34 2006
@@ -535,15 +535,18 @@
 
 # create several useful scripts, such as timeit.py, profile.py, pdb.py, smtpd.py
 for script in timeit profile pdb pstats smtpd; do
-    cat <<END > $RPM_BUILD_ROOT%{_bindir}/${script}$SCRIPT_EXT
+    cat <<'END' > $RPM_BUILD_ROOT%{_bindir}/${script}$SCRIPT_EXT
 #!/bin/sh
-exec python %{py_scriptdir}/${script}.pyc "\$@"
+exec python %{py_scriptdir}/${script}.pyc "$@"
 END
 done
 
 # xgettext specific for Python code
 install Tools/i18n/pygettext.py $RPM_BUILD_ROOT%{_bindir}/pygettext$SCRIPT_EXT
 
+# just to cut the noise, as they are not packaged (now)
+rm -rf $RPM_BUILD_ROOT%{py_scriptdir}/test
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -812,6 +815,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.247  2006/01/25 22:13:34  glen
+- rm -rf %{py_scriptdir}/test to cut down check-files noise
+
 Revision 1.246  2006/01/25 22:05:58  glen
 - BR rpm-pythonprov
 
================================================================

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



More information about the pld-cvs-commit mailing list