commit 166b648d31a96820ce245da16acb2560e30362a2
Author: Jacek Konieczny <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to