[packages/python-odict] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:33:15 CET 2015
commit c9245f4e3ad997c16eb64ae1d0e4554cc86900bf
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-odict.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-odict.spec b/python-odict.spec
index fed227a..83e592c 100644
--- a/python-odict.spec
+++ b/python-odict.spec
@@ -24,7 +24,7 @@ existing item keeps it at its original position
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%if %{with tests}
# Tests are broken upstream and also require unpackaged python-interlude
@@ -34,10 +34,7 @@ existing item keeps it at its original position
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-odict.git/commitdiff/c9245f4e3ad997c16eb64ae1d0e4554cc86900bf
More information about the pld-cvs-commit
mailing list