]> git.pld-linux.org Git - packages/fedmsg-notify.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
fedmsg-notify.spec

index f028f50420d65e71640d9c87fa71d984b74bf216..5d99e0e1ec2efcfbc15022cc586b47801a41162b 100644 (file)
@@ -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
 
This page took 0.226324 seconds and 4 git commands to generate.