commit 54b7c2c7482de1bbfdaab821758cf2d0c546851c
Author: Jan Rękorajski <[email protected]>
Date:   Sat May 7 08:43:23 2016 +0200

    - use rpm python macros
    - rel 3

 gyp.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gyp.spec b/gyp.spec
index c8ff9ac..ebba117 100644
--- a/gyp.spec
+++ b/gyp.spec
@@ -3,7 +3,7 @@
 %bcond_with    tests           # build without tests
 
 %define                svnrev  1602
-%define                rel             2
+%define                rel     3
 Summary:       Generate Your Projects
 Summary(pl.UTF-8):     GYP (Generate Your Projects) - narzędzie do generowania 
systemów budowania
 Name:          gyp
@@ -64,15 +64,14 @@ Ten pakiet zawiera moduły Pythona.
 %setup -q -n %{name}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} gyptest.py -a}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gyp.git/commitdiff/54b7c2c7482de1bbfdaab821758cf2d0c546851c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to