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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:38:48 CET 2015


commit 0adbadc2ca8d2ca197d9c209f7a2cb2831613788
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-pyliblzma.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pyliblzma.spec b/python-pyliblzma.spec
index 518ff1b..6dd7565 100644
--- a/python-pyliblzma.spec
+++ b/python-pyliblzma.spec
@@ -29,7 +29,7 @@ Lasse Collin's xz / lzma utils.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build \
+%py_build \
 	--debug
 
 %if %{with tests}
@@ -40,9 +40,7 @@ python setup.py test
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_comp $RPM_BUILD_ROOT
 %py_ocomp $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyliblzma.git/commitdiff/0adbadc2ca8d2ca197d9c209f7a2cb2831613788



More information about the pld-cvs-commit mailing list