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

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


commit 60fd95965218c34f08c0b6bdf4a43e8be16067ac
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-keyring.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-keyring.spec b/python-keyring.spec
index 5ebca5a..be047de 100644
--- a/python-keyring.spec
+++ b/python-keyring.spec
@@ -34,14 +34,11 @@ python-keyring-gnome or python-keyring-kwallet.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-keyring.git/commitdiff/60fd95965218c34f08c0b6bdf4a43e8be16067ac



More information about the pld-cvs-commit mailing list