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

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


commit a51f59ec34cf5ed0c1d425ca16408024d70ae51f
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-4Suite.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-4Suite.spec b/python-4Suite.spec
index 11a4dbe..b87e520 100644
--- a/python-4Suite.spec
+++ b/python-4Suite.spec
@@ -75,16 +75,13 @@ Narzędzia CLI 4Suite:
 %setup -q -n %{short_name}-XML-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-docs=%{_datadir}/doc/%{name}-%{version} \
 	--install-headers=%{_includedir}/4Suite \
 	--system
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-4Suite.git/commitdiff/a51f59ec34cf5ed0c1d425ca16408024d70ae51f



More information about the pld-cvs-commit mailing list