[packages/python-cx_PyGenLib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:19:32 CET 2015
commit 1e0c885fd9358a0f97a71a0f645404f214e0a965
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-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
More information about the pld-cvs-commit
mailing list