[packages/python-rdflib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:41:49 CET 2015
commit f634e65599ba7de99bad7006b65d1792d2d247b1
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-rdflib.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-rdflib.spec b/python-rdflib.spec
index 52c7951..79e0562 100644
--- a/python-rdflib.spec
+++ b/python-rdflib.spec
@@ -37,14 +37,12 @@ Krecha z pomocą wielu współpracowników.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-rdflib.git/commitdiff/f634e65599ba7de99bad7006b65d1792d2d247b1
More information about the pld-cvs-commit
mailing list