rpms/clamav/devel clamav.spec,1.106,1.107

Dan Horák sharkcz at fedoraproject.org
Tue Jul 13 21:32:29 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/clamav/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5746

Modified Files:
	clamav.spec 
Log Message:
* Tue Jul 13 2010 Dan Horák <dan[at]danny.cz> - 0.96.1-1401
- ocaml not available (at least) on s390(x)



Index: clamav.spec
===================================================================
RCS file: /cvs/pkgs/rpms/clamav/devel/clamav.spec,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -p -r1.106 -r1.107
--- clamav.spec	1 Jun 2010 19:22:07 -0000	1.106
+++ clamav.spec	13 Jul 2010 21:32:29 -0000	1.107
@@ -8,6 +8,12 @@
 %bcond_without		bytecode
 ##
 
+%ifnarch s390 s390x
+%global have_ocaml	1
+%else
+%global have_ocaml	0
+%endif
+
 %global username	clamupdate
 %global homedir		%_var/lib/clamav
 %global freshclamlog	%_var/log/freshclam.log
@@ -27,7 +33,7 @@
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
 Version:	0.96.1
-Release:	%release_func 1400
+Release:	%release_func 1401
 License:	%{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
 Group:		Applications/File
 URL:		http://www.clamav.net
@@ -61,7 +67,10 @@ Requires:	data(clamav)
 BuildRequires:	zlib-devel bzip2-devel gmp-devel curl-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	%_includedir/tcpd.h
-%{?with_bytecode:BuildRequires:	bc tcl ocaml groff graphviz}
+%{?with_bytecode:BuildRequires:	bc tcl groff graphviz}
+%if %{have_ocaml}
+%{?with_bytecode:BuildRequires:	ocaml}
+%endif
 
 %package filesystem
 Summary:	Filesystem structure for clamav
@@ -705,6 +714,9 @@ test "$1" != "0" || /sbin/initctl -q sto
 
 
 %changelog
+* Tue Jul 13 2010 Dan Horák <dan[at]danny.cz> - 0.96.1-1401
+- ocaml not available (at least) on s390(x)
+
 * Tue Jun  1 2010 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.96.1-1400
 - updated to 0.96.1
 - rediffed patches



More information about the scm-commits mailing list