[packages/python-pychart] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:36:46 CET 2015
commit 58e2853f4a56d1fe2df4943c37fe6bc696a9900d
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-pychart.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pychart.spec b/python-pychart.spec
index 8426ec6..04cba4c 100644
--- a/python-pychart.spec
+++ b/python-pychart.spec
@@ -33,15 +33,13 @@ potęgę tego języka.
%setup -q -n %{fname}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -name \*.py | xargs rm -f
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pychart.git/commitdiff/58e2853f4a56d1fe2df4943c37fe6bc696a9900d
More information about the pld-cvs-commit
mailing list