[packages/python-cjson] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:18:08 CET 2015
commit 976671598814f8589411ae62f2f5cf2dd75b22ab
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-cjson.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-cjson.spec b/python-cjson.spec
index 4de60bf..91d8baa 100644
--- a/python-cjson.spec
+++ b/python-cjson.spec
@@ -23,14 +23,12 @@ directly in python.
%setup -q
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cjson.git/commitdiff/976671598814f8589411ae62f2f5cf2dd75b22ab
More information about the pld-cvs-commit
mailing list