[packages/python-contract] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:18:42 CET 2015
commit 3eee994f20b3d16d612474930fdaec34e1977d8e
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-contract.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-contract.spec b/python-contract.spec
index 9de8fb6..6d7e650 100644
--- a/python-contract.spec
+++ b/python-contract.spec
@@ -25,13 +25,11 @@ the contracts while debugging.
%setup -q -n %{module}-%{version}
%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
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-contract.git/commitdiff/3eee994f20b3d16d612474930fdaec34e1977d8e
More information about the pld-cvs-commit
mailing list