[packages/Narval] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:20:56 CET 2015
commit 08e45dc4a71511f92a835527e3be1175af8f790a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
Narval.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/Narval.spec b/Narval.spec
index 5ed006a..59bb3f0 100644
--- a/Narval.spec
+++ b/Narval.spec
@@ -48,14 +48,13 @@ informacji.
#/%patch -p1
%build
-CFLAGS="%{rpmcflags}" python setup.py build
+CFLAGS="%{rpmcflags}" %py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_desktopdir},%{py_sitedir}/narval/}
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
+%py_install \
--record=INSTALLED_FILES
# these files seem missing after installation, so install them here
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Narval.git/commitdiff/08e45dc4a71511f92a835527e3be1175af8f790a
More information about the pld-cvs-commit
mailing list