commit 6317a8c34a93c8890511f7eadea49516971c7f36
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-pysane.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-pysane.spec b/python-pysane.spec
index 1846f61..190ce69 100644
--- a/python-pysane.spec
+++ b/python-pysane.spec
@@ -30,17 +30,12 @@ do skanerów i urządzeń przechwytujących ramki obrazu dla 
Linuksa.
 %setup -q -n pysane-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --skip-build \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pysane.git/commitdiff/6317a8c34a93c8890511f7eadea49516971c7f36

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to