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

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


commit 615297423cb29187ebc7b3165e6848985bd87603
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-pyosd.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyosd.spec b/python-pyosd.spec
index b2ff460..cfdc1f3 100644
--- a/python-pyosd.spec
+++ b/python-pyosd.spec
@@ -38,16 +38,13 @@ piosenki czy filmu.
 %setup -q -n %{module}-%{version}
 
 %build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitedir}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-lib=%{py_sitedir} \
 	--optimize=2
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyosd.git/commitdiff/615297423cb29187ebc7b3165e6848985bd87603



More information about the pld-cvs-commit mailing list