[packages/python-offtrac] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:33:19 CET 2015
commit a90bef096ee186846438a02fc3ed13ced70dca18
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-offtrac.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-offtrac.spec b/python-offtrac.spec
index 6adb6e9..3b71cf3 100644
--- a/python-offtrac.spec
+++ b/python-offtrac.spec
@@ -28,14 +28,11 @@ This object is how one interacts with a Trac instance via xmlrpc.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%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-offtrac.git/commitdiff/a90bef096ee186846438a02fc3ed13ced70dca18
More information about the pld-cvs-commit
mailing list