[packages/python-pylzma] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:38:59 CET 2015
commit 8e13b91824fb14db853dd0a78940aa070b092248
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-pylzma.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pylzma.spec b/python-pylzma.spec
index 0834262..8cefcdf 100644
--- a/python-pylzma.spec
+++ b/python-pylzma.spec
@@ -32,16 +32,14 @@ Features:
%setup -q -n %{module}-%{version}
%build
-python setup.py build \
+%py_build \
--debug
%install
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-pylzma.git/commitdiff/8e13b91824fb14db853dd0a78940aa070b092248
More information about the pld-cvs-commit
mailing list