[packages/python-pycalendar] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:36:31 CET 2015


commit bea3e1ada0992bd162151fc34db16697ccac8671
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-pycalendar.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pycalendar.spec b/python-pycalendar.spec
index 806ac09..529fe6e 100644
--- a/python-pycalendar.spec
+++ b/python-pycalendar.spec
@@ -27,14 +27,11 @@ Biblioteka iCalendar/vCard.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pycalendar.git/commitdiff/bea3e1ada0992bd162151fc34db16697ccac8671



More information about the pld-cvs-commit mailing list