[packages/python-ipaddress] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:39 CET 2015
commit 589fd4aaaa6135e1ee2979303872a496586430b8
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-ipaddress.spec | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-ipaddress.spec b/python-ipaddress.spec
index 1430e27..fc43312 100644
--- a/python-ipaddress.spec
+++ b/python-ipaddress.spec
@@ -38,7 +38,7 @@ Dokumentacja API %{module}.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build --build-base build-2 %{?with_tests:test}
+%py_build %{?with_tests:test}
%if %{with doc}
cd docs
@@ -49,11 +49,7 @@ rm -rf _build/html/_sources
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py \
- build --build-base build-2 \
- install --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ipaddress.git/commitdiff/589fd4aaaa6135e1ee2979303872a496586430b8
More information about the pld-cvs-commit
mailing list