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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:49:21 CET 2015


commit 7d04eed4ad0abec26d0df4ffcfd013e32c217d4f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-yara.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-yara.spec b/python-yara.spec
index 83b02a2..fb8ec89 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -26,14 +26,11 @@ features from your own Python scripts.
 %setup -q -n %{module}-python-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-yara.git/commitdiff/7d04eed4ad0abec26d0df4ffcfd013e32c217d4f



More information about the pld-cvs-commit mailing list