SPECS: python-pyclamav.spec - update to 0.4.1

glen glen at pld-linux.org
Sun Apr 27 14:26:15 CEST 2008


Author: glen                         Date: Sun Apr 27 12:26:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 0.4.1

---- Files affected:
SPECS:
   python-pyclamav.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/python-pyclamav.spec
diff -u SPECS/python-pyclamav.spec:1.10 SPECS/python-pyclamav.spec:1.11
--- SPECS/python-pyclamav.spec:1.10	Thu Apr 24 20:37:05 2008
+++ SPECS/python-pyclamav.spec	Sun Apr 27 14:26:10 2008
@@ -1,19 +1,17 @@
 # $Revision$, $Date$
-# TODO
-# - patch for clamav 0.93
 Summary:	A Python interface to libclamav
 Summary(pl.UTF-8):	Interfejs Pythona do libclamav
 Name:		python-pyclamav
-Version:	0.3.3
-Release:	4
+Version:	0.4.1
+Release:	1
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
-# Source0-md5:	7899cff81288b201503747a0ba4d7db3
+# Source0-md5:	9e1f29ea118bac87223ff4df3c077556
 URL:		http://xael.org/norman/python/pyclamav/index.html
 BuildRequires:  clamav-devel >= 0:0.80
 BuildRequires:	python
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-devel >= 1:2.4
 Requires:       clamav >= 0:0.80
 Requires:	python
 %pyrequires_eq	python-modules
@@ -29,13 +27,12 @@
 %setup -q -n pyclamav-%{version}
 
 %build
-env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
+env CFLAGS="%{rpmcflags}" %{_python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
-python -- setup.py install \
+%{__python} -- setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
@@ -50,7 +47,9 @@
 %attr(755,root,root) %{py_sitedir}/*.so
 %dir %{_examplesdir}/%{name}-%{version}
 %{_examplesdir}/%{name}-%{version}/example.py
+%if "%{py_ver}" > "2.4"
 %{py_sitedir}/*.egg-info
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008-04-27 12:26:10  glen
+- update to 0.4.1
+
 Revision 1.10  2008-04-24 18:37:05  glen
 - need new clam api fix
 
@@ -65,7 +67,7 @@
 - release 4 (clamav)
 
 Revision 1.8  2007-12-24 08:17:42  glen
-- rel 3 (- clamav)
+- rel 3 (clamav)
 
 Revision 1.7  2007-04-06 08:44:29  megabajt
 - release 2 (rebuild with new clamav)
@@ -85,4 +87,3 @@
 
 Revision 1.2  2005/03/17 11:11:20  spider
 - missing log section
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pyclamav.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list