From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:20:07 +0000 (+0100) Subject: automatic change: use py_build/py_install macros X-Git-Tag: auto/th/Zope-Component-3.10.0-2~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2FZope-Component.git;a=commitdiff_plain;h=fd8331a51edd6763265269983fb6e2d9f966988b automatic change: use py_build/py_install macros --- diff --git a/Zope-Component.spec b/Zope-Component.spec index 08f6cc3..9573a78 100644 --- a/Zope-Component.spec +++ b/Zope-Component.spec @@ -31,12 +31,12 @@ Rdzeń architektury komponentowej Zope Component Architecture. %setup -q -n zope.component-%{version} %build -python ./setup.py build +%py_build %install rm -rf $RPM_BUILD_ROOT -python ./setup.py install \ +%py_install \ --install-purelib=%{py_sitedir} \ --optimize 2 \ --root=$RPM_BUILD_ROOT