commit 1e0c885fd9358a0f97a71a0f645404f214e0a965
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-cx_PyGenLib.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-cx_PyGenLib.spec b/python-cx_PyGenLib.spec
index 8b3ee95..9fdd748 100644
--- a/python-cx_PyGenLib.spec
+++ b/python-cx_PyGenLib.spec
@@ -31,12 +31,11 @@ odpowiednimi projektami.
%setup -q -n %{module}-%{version}
%build
-env CFLAGS="%{rpmcflags}" python setup.py build
+env CFLAGS="%{rpmcflags}" %py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
# check-files shutup
rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cx_PyGenLib.git/commitdiff/1e0c885fd9358a0f97a71a0f645404f214e0a965
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit