[packages/python-iniparse] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:23 CET 2015
commit e7552907f138bf3d1235c4f161badcff806a9728
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-iniparse.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-iniparse.spec b/python-iniparse.spec
index 7a0f4ba..846cd50 100644
--- a/python-iniparse.spec
+++ b/python-iniparse.spec
@@ -23,13 +23,11 @@ are preserved when data is updated), and is more convenient to use.
%setup -q -n iniparse-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-iniparse.git/commitdiff/e7552907f138bf3d1235c4f161badcff806a9728
More information about the pld-cvs-commit
mailing list