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

jajcus jajcus at pld-linux.org
Sat Nov 28 19:24:12 CET 2015


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

    automatic change: use py_build/py_install macros

 ccsm.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/ccsm.spec b/ccsm.spec
index c64fba6..d4b5ae8 100644
--- a/ccsm.spec
+++ b/ccsm.spec
@@ -33,14 +33,13 @@ systemu CompizConfig.
 %setup -q
 
 %build
-%{__python} setup.py build \
+%py_build \
 	--prefix %{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT \
 	--prefix %{_prefix}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ccsm.git/commitdiff/b63035b2c968eb13919a42b949a0acfb20eb4b26



More information about the pld-cvs-commit mailing list