[packages/python-ClientTable] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:10 CET 2015
commit 7aa537d47cf6ed18c887f67f2c145f3c1a3780cd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:41 2015 +0100
automatic change: use py_build/py_install macros
python-ClientTable.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ClientTable.spec b/python-ClientTable.spec
index 2d01198..dffc6bf 100644
--- a/python-ClientTable.spec
+++ b/python-ClientTable.spec
@@ -29,14 +29,12 @@ HTMLParser, wyrażenia regularne itp.).
%setup -q -n %{module}-%{version}
%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
rm $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ClientTable.git/commitdiff/7aa537d47cf6ed18c887f67f2c145f3c1a3780cd
More information about the pld-cvs-commit
mailing list