[packages/python-Gnuplot] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:56 CET 2015
commit adbb9ea3f7ee5e935fae2c34fd753aff33d96aa4
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:41 2015 +0100
automatic change: use py_build/py_install macros
python-Gnuplot.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-Gnuplot.spec b/python-Gnuplot.spec
index 48a76ad..faf9a98 100644
--- a/python-Gnuplot.spec
+++ b/python-Gnuplot.spec
@@ -32,12 +32,11 @@ poziomu Pythona używając do tego programu gnuplot.
%setup -q -n %{dname}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
rm -Rf $RPM_BUILD_ROOT/%{py_sitescriptdir}/Gnuplot/*.py
mv -f doc html
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Gnuplot.git/commitdiff/adbb9ea3f7ee5e935fae2c34fd753aff33d96aa4
More information about the pld-cvs-commit
mailing list