[packages/Zope-Component] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:21:42 CET 2015
commit fd8331a51edd6763265269983fb6e2d9f966988b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
Zope-Component.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Zope-Component.git/commitdiff/fd8331a51edd6763265269983fb6e2d9f966988b
More information about the pld-cvs-commit
mailing list