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

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


commit 15acbe135c1c8c1fe87507e50e36dedc7ca478c8
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-dns.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-dns.spec b/python-dns.spec
index 9ed956c..15c68f7 100644
--- a/python-dns.spec
+++ b/python-dns.spec
@@ -45,7 +45,7 @@ komunikatach, nazwach i rekordach w DNS-ie.
 %setup -q -n dnspython-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,9 +53,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dns.git/commitdiff/15acbe135c1c8c1fe87507e50e36dedc7ca478c8



More information about the pld-cvs-commit mailing list