[packages/python-meld3] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:30:40 CET 2015
commit ce53f5bf9f0b0ca228f94987a8452c1622447e19
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-meld3.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-meld3.spec b/python-meld3.spec
index 13ef149..dc2713f 100644
--- a/python-meld3.spec
+++ b/python-meld3.spec
@@ -33,9 +33,7 @@ this pattern.
%build
export USE_MELD3_EXTENSION_MODULES=True
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%if %{with tests}
%{__python} meld3/test_meld3.py
@@ -44,10 +42,7 @@ CFLAGS="%{rpmcflags}" \
%install
rm -rf $RPM_BUILD_ROOT
export USE_MELD3_EXTENSION_MODULES=True
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-meld3.git/commitdiff/ce53f5bf9f0b0ca228f94987a8452c1622447e19
More information about the pld-cvs-commit
mailing list