- ocaml not available (at least) on s390(x)
This commit is contained in:
parent
dc6c42aed9
commit
3220785dfb
16
clamav.spec
16
clamav.spec
@ -8,6 +8,12 @@
|
|||||||
%bcond_without bytecode
|
%bcond_without bytecode
|
||||||
##
|
##
|
||||||
|
|
||||||
|
%ifnarch s390 s390x
|
||||||
|
%global have_ocaml 1
|
||||||
|
%else
|
||||||
|
%global have_ocaml 0
|
||||||
|
%endif
|
||||||
|
|
||||||
%global username clamupdate
|
%global username clamupdate
|
||||||
%global homedir %_var/lib/clamav
|
%global homedir %_var/lib/clamav
|
||||||
%global freshclamlog %_var/log/freshclam.log
|
%global freshclamlog %_var/log/freshclam.log
|
||||||
@ -27,7 +33,7 @@
|
|||||||
Summary: End-user tools for the Clam Antivirus scanner
|
Summary: End-user tools for the Clam Antivirus scanner
|
||||||
Name: clamav
|
Name: clamav
|
||||||
Version: 0.96.1
|
Version: 0.96.1
|
||||||
Release: %release_func 1400
|
Release: %release_func 1401
|
||||||
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://www.clamav.net
|
URL: http://www.clamav.net
|
||||||
@ -61,7 +67,10 @@ Requires: data(clamav)
|
|||||||
BuildRequires: zlib-devel bzip2-devel gmp-devel curl-devel
|
BuildRequires: zlib-devel bzip2-devel gmp-devel curl-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: %_includedir/tcpd.h
|
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
|
%package filesystem
|
||||||
Summary: Filesystem structure for clamav
|
Summary: Filesystem structure for clamav
|
||||||
@ -705,6 +714,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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@informatik.tu-chemnitz.de> - 0.96.1-1400
|
* Tue Jun 1 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.1-1400
|
||||||
- updated to 0.96.1
|
- updated to 0.96.1
|
||||||
- rediffed patches
|
- rediffed patches
|
||||||
|
Loading…
Reference in New Issue
Block a user