[packages/python-shm] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:43:49 CET 2015
commit 6da266c603e308d39f27aa8d2dfc5139a94aefaa
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-shm.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-shm.spec b/python-shm.spec
index 039775f..6f9250e 100644
--- a/python-shm.spec
+++ b/python-shm.spec
@@ -31,13 +31,12 @@ w większości systemów uniksowych.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
+%py_install \
--install-data %{_datadir} \
--root=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-shm.git/commitdiff/6da266c603e308d39f27aa8d2dfc5139a94aefaa
More information about the pld-cvs-commit
mailing list