[packages/Zope-Deprecation] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:21:50 CET 2015
commit 9313eb3695b59adf04abe9c39002b3a7889d0bfa
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-Deprecation.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Zope-Deprecation.spec b/Zope-Deprecation.spec
index 4ce220c..b44ac48 100644
--- a/Zope-Deprecation.spec
+++ b/Zope-Deprecation.spec
@@ -36,13 +36,13 @@ Biblioteka odradzająca dla kodu w Pythonie.
%setup -q -n zope.deprecation-%{version}
%build
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
+%py_install \
--install-purelib=%{py_sitedir} \
--skip-build \
--optimize 2 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Zope-Deprecation.git/commitdiff/9313eb3695b59adf04abe9c39002b3a7889d0bfa
More information about the pld-cvs-commit
mailing list