[packages/flowd] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:27:17 CET 2015


commit a0873336bebea4d025ebc4473802e52c2e37ad51
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 flowd.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/flowd.spec b/flowd.spec
index 8e3c245..701c3f1 100644
--- a/flowd.spec
+++ b/flowd.spec
@@ -110,8 +110,7 @@ sieciowych flowd.
 %configure
 %{__make}
 
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 cd Flowd-perl
 %{__perl} Makefile.PL \
@@ -136,9 +135,7 @@ install -p flowd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/flowd
 rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Flowd/.packlist
 
 # Python module
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flowd.git/commitdiff/a0873336bebea4d025ebc4473802e52c2e37ad51



More information about the pld-cvs-commit mailing list