[packages/cobbler] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:24:46 CET 2015
commit 3e5f65001587ddc407955d00fa8fb4ca788a685f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
cobbler.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/cobbler.spec b/cobbler.spec
index 9edab50..f3dd9ac 100644
--- a/cobbler.spec
+++ b/cobbler.spec
@@ -96,14 +96,12 @@ mv config/cobbler{,_web}.conf .
mv config/{cobblerd,cobblerd_rotate,cobblerd.service,cobbler_bash} .
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cobbler.git/commitdiff/3e5f65001587ddc407955d00fa8fb4ca788a685f
More information about the pld-cvs-commit
mailing list