[packages/python-pydspam] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:37:29 CET 2015
commit 3699394ca0ba9fce75c81a55b3eacd9b74c453ef
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-pydspam.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pydspam.spec b/python-pydspam.spec
index b3c7509..14a1daf 100644
--- a/python-pydspam.spec
+++ b/python-pydspam.spec
@@ -26,12 +26,12 @@ Interfejs Pythona do biblioteki dspam.
%patch0 -p1
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pydspam.git/commitdiff/3699394ca0ba9fce75c81a55b3eacd9b74c453ef
More information about the pld-cvs-commit
mailing list