[packages/gcoherence] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:27:52 CET 2015
commit 67b7c4f9b18716e7e0e69fb9643b64bef9178dbd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
gcoherence.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gcoherence.spec b/gcoherence.spec
index 6502c89..6448b7f 100644
--- a/gcoherence.spec
+++ b/gcoherence.spec
@@ -28,14 +28,12 @@ A simple free media server.
%setup -q
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps
mv $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/{,apps/}gcoherence.png
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcoherence.git/commitdiff/67b7c4f9b18716e7e0e69fb9643b64bef9178dbd
More information about the pld-cvs-commit
mailing list