[packages/dispcalGUI] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:25:29 CET 2015


commit 36fe5e9c2d132139a87c51d255dda4f68e6f64b4
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 dispcalGUI.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/dispcalGUI.spec b/dispcalGUI.spec
index f467e30..a31970d 100644
--- a/dispcalGUI.spec
+++ b/dispcalGUI.spec
@@ -42,13 +42,11 @@ chmod +x misc/Argyll
 find -name .DS_Store | xargs rm -rv
 
 %build
-%{__python} setup.py build --use-distutils
+%py_build --use-distutils
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--skip-build \
+%py_install \
 	--skip-instrument-configuration-files \
 	--skip-postinstall \
 	--use-distutils \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dispcalGUI.git/commitdiff/36fe5e9c2d132139a87c51d255dda4f68e6f64b4



More information about the pld-cvs-commit mailing list