[packages/fedmsg-notify] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:26:54 CET 2015
commit 166b648d31a96820ce245da16acb2560e30362a2
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-notify.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/fedmsg-notify.spec b/fedmsg-notify.spec
index f028f50..5d99e0e 100644
--- a/fedmsg-notify.spec
+++ b/fedmsg-notify.spec
@@ -42,14 +42,11 @@ mv fedmsg_notify/distro_specific/_debian.py .
mv fedmsg_notify/distro_specific/_fedora.py .
%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/fedmsg-notify.git/commitdiff/166b648d31a96820ce245da16acb2560e30362a2
More information about the pld-cvs-commit
mailing list