[packages/gaupol] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:27:44 CET 2015
commit f9e062b18c1417453864d69af8426f6eb2f68b3b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
gaupol.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gaupol.spec b/gaupol.spec
index 6fa5380..4e65dbb 100644
--- a/gaupol.spec
+++ b/gaupol.spec
@@ -38,13 +38,12 @@ między formatami, tłumaczeń i ręcznego modyfikowania.
%setup -q
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --optimize=2 \
+%py_install \
--root $RPM_BUILD_ROOT \
--prefix %{_prefix}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gaupol.git/commitdiff/f9e062b18c1417453864d69af8426f6eb2f68b3b
More information about the pld-cvs-commit
mailing list