packages: picard/picard.spec - pldize

glen glen at pld-linux.org
Fri May 25 09:08:47 CEST 2012


Author: glen                         Date: Fri May 25 07:08:47 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pldize

---- Files affected:
packages/picard:
   picard.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/picard/picard.spec
diff -u packages/picard/picard.spec:1.13 packages/picard/picard.spec:1.14
--- packages/picard/picard.spec:1.13	Sun May 13 15:40:47 2012
+++ packages/picard/picard.spec	Fri May 25 09:08:42 2012
@@ -45,16 +45,19 @@
 %setup -q
 %patch0 -p1
 
+find -type f | xargs sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g'
+
 %build
-find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
-python ./setup.py config
-python ./setup.py build 
+%{__python} setup.py config
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
 
 # Scots unsupported by glibc
 rm -r $RPM_BUILD_ROOT/%{_datadir}/locale/sco
@@ -86,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2012/05/25 07:08:42  glen
+- pldize
+
 Revision 1.13  2012/05/13 13:40:47  blekot
 - up to 0.16
 - BR: pkgconfig for ./setup.py config
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/picard/picard.spec?r1=1.13&r2=1.14



More information about the pld-cvs-commit mailing list