commit 50d71ac8d5914c5e68ca5e6c80506c8d232074c0
Author: Jan RÄ™korajski <[email protected]>
Date:   Wed Mar 30 23:04:59 2016 +0900

    - use new build and install macros
    - rel 14

 python-pyclamav.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/python-pyclamav.spec b/python-pyclamav.spec
index c79d188..eda44da 100644
--- a/python-pyclamav.spec
+++ b/python-pyclamav.spec
@@ -4,7 +4,7 @@ Summary:        A Python interface to libclamav
 Summary(pl.UTF-8):     Interfejs Pythona do libclamav
 Name:          python-pyclamav
 Version:       0.4.1
-Release:       13
+Release:       14
 License:       GPL
 Group:         Libraries/Python
 Source0:       
http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
@@ -33,14 +33,13 @@ Interfejs Pythona do libclamav.
 %patch0 -p1
 
 %build
-env CFLAGS="%{rpmcflags}" %py_build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%{__python} -- setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+
+%py_install
 
 cp -a example.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyclamav.git/commitdiff/50d71ac8d5914c5e68ca5e6c80506c8d232074c0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to