[packages/Zope-Proxy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:02 CET 2015
commit d145681d0f0251ed5c3ca522f6150d2b95d63ed4
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-Proxy.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/Zope-Proxy.spec b/Zope-Proxy.spec
index 7dee1a0..f23529c 100644
--- a/Zope-Proxy.spec
+++ b/Zope-Proxy.spec
@@ -35,15 +35,12 @@ obudowywanego obiektu tylko w razie potrzeby, aby zastosować politykę
%setup -q -n zope.proxy-%{version}
%build
-export CFLAGS="%{rpmcflags}"
-python ./setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python ./setup.py install \
- --optimize 2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
rm $RPM_BUILD_ROOT%{py_sitedir}/zope/proxy/*.[ch]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Zope-Proxy.git/commitdiff/d145681d0f0251ed5c3ca522f6150d2b95d63ed4
More information about the pld-cvs-commit
mailing list