[packages/bmap-tools] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:23:09 CET 2015
commit 9d4b86d51f68e1593fa3debe717515809b794f11
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
bmap-tools.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/bmap-tools.spec b/bmap-tools.spec
index 4214f9f..f1c05fb 100644
--- a/bmap-tools.spec
+++ b/bmap-tools.spec
@@ -42,13 +42,12 @@ narzędzi, takich jak "dd" lub "cp".
%setup -q
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
+%py_install \
--prefix=%{_prefix} \
--root=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bmap-tools.git/commitdiff/9d4b86d51f68e1593fa3debe717515809b794f11
More information about the pld-cvs-commit
mailing list