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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:56:23 CET 2015


commit fd1f6ceddfc7bb58bdc62e0e9f7ca63ded20bd5e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:55:57 2015 +0100

    automatic change: use py_build/py_install macros

 python3-dns.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python3-dns.spec b/python3-dns.spec
index 69cece1..12903c7 100644
--- a/python3-dns.spec
+++ b/python3-dns.spec
@@ -44,7 +44,7 @@ komunikatach, nazwach i rekordach w DNS-ie.
 %setup -q -n dnspython3-%{version}
 
 %build
-%{__python3} setup.py build
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,9 +52,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__python3} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py3_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dns.git/commitdiff/fd1f6ceddfc7bb58bdc62e0e9f7ca63ded20bd5e



More information about the pld-cvs-commit mailing list