[packages/Zope-Testing] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:06 CET 2015
commit a76cb8f36f73820cc9c808bafb2313056e412e07
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-Testing.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Zope-Testing.spec b/Zope-Testing.spec
index d846be2..ab3e18f 100644
--- a/Zope-Testing.spec
+++ b/Zope-Testing.spec
@@ -31,12 +31,12 @@ unittest.
%setup -q -n zope.testing-%{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-Testing.git/commitdiff/a76cb8f36f73820cc9c808bafb2313056e412e07
More information about the pld-cvs-commit
mailing list