[packages/python-jon] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:27:41 CET 2015
commit dc437a96e002f58a48ad2cca12f66d456d376137
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-jon.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-jon.spec b/python-jon.spec
index 6662e0f..4ada4b6 100644
--- a/python-jon.spec
+++ b/python-jon.spec
@@ -52,13 +52,13 @@ Moduł zawierający przykładowe programy do modułów Pythona Jona.
%setup -q -n %{module}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
rm $RPM_BUILD_ROOT%{py_sitescriptdir}/jon{/wt,}/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jon.git/commitdiff/dc437a96e002f58a48ad2cca12f66d456d376137
More information about the pld-cvs-commit
mailing list