[packages/python-gaphas] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:24:24 CET 2015
commit a30b8ae57220cd5e37b7ed2818238a1bea2405ba
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-gaphas.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-gaphas.spec b/python-gaphas.spec
index 183a414..1f89343 100644
--- a/python-gaphas.spec
+++ b/python-gaphas.spec
@@ -29,15 +29,13 @@ Biblioteka płótna oparta na Cairo.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%{__python} setup.py build_doc
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gaphas.git/commitdiff/a30b8ae57220cd5e37b7ed2818238a1bea2405ba
More information about the pld-cvs-commit
mailing list