[packages/gaphor] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:27:41 CET 2015


commit e91cc43499f25fa649cabc99985bcba9bf9cdad8
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 gaphor.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gaphor.spec b/gaphor.spec
index 9040a0e..d8d5d7b 100644
--- a/gaphor.spec
+++ b/gaphor.spec
@@ -35,15 +35,13 @@ podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
 
-%{__python} setup.py install \
-		--optimize=2 \
-		--root=$RPM_BUILD_ROOT
+%py_install
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gaphor.git/commitdiff/e91cc43499f25fa649cabc99985bcba9bf9cdad8



More information about the pld-cvs-commit mailing list