[packages/python-ftpparsemodule] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:24:09 CET 2015
commit ec9cee1ae83fae65ccc20352f40897e73fb0d175
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-ftpparsemodule.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-ftpparsemodule.spec b/python-ftpparsemodule.spec
index ccb26b5..9a326a7 100644
--- a/python-ftpparsemodule.spec
+++ b/python-ftpparsemodule.spec
@@ -35,13 +35,12 @@ Pythona.
%patch0 -p1
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT --optimize=2
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ftpparsemodule.git/commitdiff/ec9cee1ae83fae65ccc20352f40897e73fb0d175
More information about the pld-cvs-commit
mailing list