[packages/python-ipcalc] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:43 CET 2015
commit fc02e880492da2c2c1e49ab78d5da7e8dd92a2f9
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-ipcalc.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-ipcalc.spec b/python-ipcalc.spec
index 3720f9a..ae3a3da 100644
--- a/python-ipcalc.spec
+++ b/python-ipcalc.spec
@@ -29,12 +29,11 @@ zarówno dla IPv4 jak i IPv6.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
+%py_install \
--root $RPM_BUILD_ROOT
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ipcalc.git/commitdiff/fc02e880492da2c2c1e49ab78d5da7e8dd92a2f9
More information about the pld-cvs-commit
mailing list