[packages/python-recordtype] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:41:56 CET 2015


commit 315f99e07fffea5b202999ef0b773a2063721117
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-recordtype.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-recordtype.spec b/python-recordtype.spec
index 9328443..6d21f30 100644
--- a/python-recordtype.spec
+++ b/python-recordtype.spec
@@ -39,16 +39,13 @@ obiekty są modyfikowalne, z domyślnymi wartoścami.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__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-recordtype.git/commitdiff/315f99e07fffea5b202999ef0b773a2063721117



More information about the pld-cvs-commit mailing list