[packages/python-statesaver] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:45:40 CET 2015
commit 11b676c97a78db1905a8dd1ab40379fde2bfc49e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:44 2015 +0100
automatic change: use py_build/py_install macros
python-statesaver.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-statesaver.spec b/python-statesaver.spec
index d007f1e..7fcd1ca 100644
--- a/python-statesaver.spec
+++ b/python-statesaver.spec
@@ -27,13 +27,12 @@ install %{SOURCE0} .
install %{SOURCE1} setup.py
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-statesaver.git/commitdiff/11b676c97a78db1905a8dd1ab40379fde2bfc49e
More information about the pld-cvs-commit
mailing list