[packages/python-fpconst] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:24:05 CET 2015
commit 5167edbb1f91480606fd590371f10fbc305c4ef2
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-fpconst.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-fpconst.spec b/python-fpconst.spec
index 9d5b4c7..a6fa68b 100644
--- a/python-fpconst.spec
+++ b/python-fpconst.spec
@@ -35,15 +35,13 @@ funkcje do porównywania z tymi wartościami.
%setup -q -n %{module}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-fpconst.git/commitdiff/5167edbb1f91480606fd590371f10fbc305c4ef2
More information about the pld-cvs-commit
mailing list