[packages/python-GnuPGInterface] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:08:52 CET 2015


commit 701693a8190426eb4ae8baa24b258d0e246e8358
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:41 2015 +0100

    automatic change: use py_build/py_install macros

 python-GnuPGInterface.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-GnuPGInterface.spec b/python-GnuPGInterface.spec
index 0a911e8..4aaa342 100644
--- a/python-GnuPGInterface.spec
+++ b/python-GnuPGInterface.spec
@@ -25,14 +25,11 @@ the Perl module GnuPG::Interface.
 %setup -q -n GnuPGInterface-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-GnuPGInterface.git/commitdiff/701693a8190426eb4ae8baa24b258d0e246e8358



More information about the pld-cvs-commit mailing list