[packages/fedmsg] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:26:58 CET 2015
commit 5252e5b8cd67dd00148c2e8f733ce3fc99923018
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
fedmsg.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 6be7129..81e489c 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -144,7 +144,7 @@ sed -i "s/validate_signatures=True/validate_signatures=False/g" fedmsg.d/ssl.py
cp -rf fedmsg.d fedmsg/tests/
%build
-%{__python} setup.py build
+%py_build
# Create this temporary symlink that's only needed for the test suite.
ln -s fedmsg/tests/test_certs dev_certs
@@ -167,9 +167,7 @@ PYTHONPATH=$(pwd) python setup.py test
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
+%py_install \
--install-data=%{_datadir} \
--root $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fedmsg.git/commitdiff/5252e5b8cd67dd00148c2e8f733ce3fc99923018
More information about the pld-cvs-commit
mailing list