[packages/python-ClientForm] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:06 CET 2015
commit b7edbb7e35c6c792f94620478c0ffc733febb100
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-ClientForm.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ClientForm.spec b/python-ClientForm.spec
index 558ac31..b8fb2f4 100644
--- a/python-ClientForm.spec
+++ b/python-ClientForm.spec
@@ -31,13 +31,11 @@ ale jego interfejs (API) jest inny.
%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
%py_postclean %{_datadir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ClientForm.git/commitdiff/b7edbb7e35c6c792f94620478c0ffc733febb100
More information about the pld-cvs-commit
mailing list