[packages/python-fedmsg-meta-debian] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:23:12 CET 2015
commit 3ab6875ed3f102e2515d23d916dcfb7052afbdf1
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-fedmsg-meta-debian.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-fedmsg-meta-debian.spec b/python-fedmsg-meta-debian.spec
index 3189395..a1eb559 100644
--- a/python-fedmsg-meta-debian.spec
+++ b/python-fedmsg-meta-debian.spec
@@ -37,14 +37,11 @@ representations of your messages.
rm -r %{module}.egg-info
%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-fedmsg-meta-debian.git/commitdiff/3ab6875ed3f102e2515d23d916dcfb7052afbdf1
More information about the pld-cvs-commit
mailing list