[packages/archmage] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:37 CET 2015
commit 0844d4722f6371f94f0d554d130d75bf7dff9604
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
archmage.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/archmage.spec b/archmage.spec
index 4a362fc..b20d1e4 100644
--- a/archmage.spec
+++ b/archmage.spec
@@ -32,14 +32,11 @@ Jediego Winga.
%build
CC="%{__cc}" \
CFLAGS="%{rpmcppflags} %{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/archmage.git/commitdiff/0844d4722f6371f94f0d554d130d75bf7dff9604
More information about the pld-cvs-commit
mailing list