[packages/python-PyAMF] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:10:39 CET 2015
commit f962c519b92b2a1e24983d0da89eb31783eeced6
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-PyAMF.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-PyAMF.spec b/python-PyAMF.spec
index 742ca9b..2ead14e 100644
--- a/python-PyAMF.spec
+++ b/python-PyAMF.spec
@@ -40,18 +40,13 @@ inne.
%setup -q -n %{module}-%{version}
%build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PyAMF.git/commitdiff/f962c519b92b2a1e24983d0da89eb31783eeced6
More information about the pld-cvs-commit
mailing list