[packages/python-PyGitUp] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:10:43 CET 2015
commit 298e403c7abaddec75eb6458f25b73ea18d1cd5b
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-PyGitUp.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-PyGitUp.spec b/python-PyGitUp.spec
index 2c204b6..5588137 100644
--- a/python-PyGitUp.spec
+++ b/python-PyGitUp.spec
@@ -45,15 +45,12 @@ git-up(1) -- fetch and rebase all locally-tracked remote branches.
%patch0 -p1
%build
-%{__python} setup.py build %{?with_tests:test}
+%py_build %{?with_tests:test}
%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-PyGitUp.git/commitdiff/298e403c7abaddec75eb6458f25b73ea18d1cd5b
More information about the pld-cvs-commit
mailing list