[packages/depant] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:25:21 CET 2015
commit e8cbe989ecefb772aaa5de77c1c5197e5bf73bb6
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
depant.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/depant.spec b/depant.spec
index a71acfa..aba548a 100644
--- a/depant.spec
+++ b/depant.spec
@@ -39,12 +39,11 @@ jest sprawdzany pod kątem haseł dostarczonych przez użytkownika.
%setup -q -n %{name}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
+%py_install \
--prefix=%{_prefix} \
--install-scripts=%{_bindir} \
--root=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/depant.git/commitdiff/e8cbe989ecefb772aaa5de77c1c5197e5bf73bb6
More information about the pld-cvs-commit
mailing list