[packages/python-Flask-SQLAlchemy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:40 CET 2015
commit 5480f289273c0b70a19587d09a521a08d3eee6e7
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-Flask-SQLAlchemy.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-Flask-SQLAlchemy.spec b/python-Flask-SQLAlchemy.spec
index 9641fb2..9747df6 100644
--- a/python-Flask-SQLAlchemy.spec
+++ b/python-Flask-SQLAlchemy.spec
@@ -29,16 +29,13 @@ Adds SQLAlchemy support to your Flask application.
%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
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Flask-SQLAlchemy.git/commitdiff/5480f289273c0b70a19587d09a521a08d3eee6e7
More information about the pld-cvs-commit
mailing list