[packages/python3-dip] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:56:19 CET 2015
commit 0f0da0787158140d2f438227561bfacca231ff5b
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-dip.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python3-dip.spec b/python3-dip.spec
index 3d8c335..a7fd4bb 100644
--- a/python3-dip.spec
+++ b/python3-dip.spec
@@ -31,13 +31,11 @@ Ta wersja jest przeznaczona dla Pythona 3.x.
%setup -q -n dip-gpl-%{version}
%build
-%{__python3} setup.py build
+%py3_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python3} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py3_install
# distinguish from python 2 version
mv $RPM_BUILD_ROOT%{_bindir}/dip-automate{,-3}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-dip.git/commitdiff/0f0da0787158140d2f438227561bfacca231ff5b
More information about the pld-cvs-commit
mailing list