[packages/python-djblets] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:21:30 CET 2015
commit 5287d9996c555693caff641381825a335490fa25
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-djblets.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-djblets.spec b/python-djblets.spec
index e1eb0d1..b417f69 100644
--- a/python-djblets.spec
+++ b/python-djblets.spec
@@ -40,13 +40,11 @@ A collection of useful classes and functions for Django
%{__rm} -r Djblets*.egg-info
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-djblets.git/commitdiff/5287d9996c555693caff641381825a335490fa25
More information about the pld-cvs-commit
mailing list