[packages/python-pygtkhelpers] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:38:21 CET 2015
commit 8ca2e3dd2e1f63ba325196d2f191589aec6c70a7
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-pygtkhelpers.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pygtkhelpers.spec b/python-pygtkhelpers.spec
index 059e264..7d32799 100644
--- a/python-pygtkhelpers.spec
+++ b/python-pygtkhelpers.spec
@@ -30,13 +30,11 @@ applications.
%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-pygtkhelpers.git/commitdiff/8ca2e3dd2e1f63ba325196d2f191589aec6c70a7
More information about the pld-cvs-commit
mailing list