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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:25:14 CET 2015


commit 36d27161aaa9f415f8626d411a4603b9eb688b40
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-gnupg.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-gnupg.spec b/python-gnupg.spec
index 2173257..6e0cca6 100644
--- a/python-gnupg.spec
+++ b/python-gnupg.spec
@@ -24,13 +24,11 @@ Interfejs do GnuPG dla Pythona.
 
 %prep
 %setup -q -n GnuPGInterface-%{version}
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-gnupg.git/commitdiff/36d27161aaa9f415f8626d411a4603b9eb688b40



More information about the pld-cvs-commit mailing list