[packages/python-smmap] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:44:46 CET 2015
commit 8063773d7111935998f0d5ad8ade9322e1321fe1
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-smmap.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-smmap.spec b/python-smmap.spec
index 4d7dc44..341bfb9 100644
--- a/python-smmap.spec
+++ b/python-smmap.spec
@@ -28,16 +28,13 @@ A pure git implementation of a sliding window memory map manager.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/smmap/test
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-smmap.git/commitdiff/8063773d7111935998f0d5ad8ade9322e1321fe1
More information about the pld-cvs-commit
mailing list