[packages/python-simpleparse] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:44:05 CET 2015
commit 290679ec8ccc49f9b4da86188f0a82c3b0a8618b
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-simpleparse.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-simpleparse.spec b/python-simpleparse.spec
index 12f176d..2b92e90 100644
--- a/python-simpleparse.spec
+++ b/python-simpleparse.spec
@@ -30,16 +30,13 @@ silnikiem tagującym tekst bezpośrednio z gramatyk EBNF.
%setup -q -n %{cap_name}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitedir}
-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-simpleparse.git/commitdiff/290679ec8ccc49f9b4da86188f0a82c3b0a8618b
More information about the pld-cvs-commit
mailing list