commit 3c7046a7e9338cb2d6af0e7c696c811bf29a487b
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-deform_bootstrap.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-deform_bootstrap.spec b/python-deform_bootstrap.spec
index 0d1b757..b2bf823 100644
--- a/python-deform_bootstrap.spec
+++ b/python-deform_bootstrap.spec
@@ -30,16 +30,13 @@ templates and styles for the deform form library.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/demo
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-deform_bootstrap.git/commitdiff/3c7046a7e9338cb2d6af0e7c696c811bf29a487b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to