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

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


commit 68ae77017af1718c055e56bf7c975477eb3747c5
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-ConcurrentLogHandler.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-ConcurrentLogHandler.spec b/python-ConcurrentLogHandler.spec
index 587269b..a501117 100644
--- a/python-ConcurrentLogHandler.spec
+++ b/python-ConcurrentLogHandler.spec
@@ -23,14 +23,11 @@ RotatingFileHandler).
 %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
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ConcurrentLogHandler.git/commitdiff/68ae77017af1718c055e56bf7c975477eb3747c5



More information about the pld-cvs-commit mailing list