]> git.pld-linux.org Git - packages/clamav.git/blobdiff - clamav.spec
- restore llvm bcond default for ac
[packages/clamav.git] / clamav.spec
index f4468c5fba2505918907c1342862010646ea6aad..4413ef03d58ee952abcd44800a8711f124f28346 100644 (file)
 %bcond_without llvm            # LLVM support
 %endif
 
+%ifarch x32
+%undefine with_llvm
+%endif
+
 Summary:       An anti-virus utility for Unix
 Summary(pl.UTF-8):     Narzędzie antywirusowe dla Uniksów
 Name:          clamav
-Version:       0.98.3
-Release:       3
+Version:       0.98.7
+Release:       2
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://downloads.sourceforge.net/clamav/%{name}-%{version}.tar.gz
-# Source0-md5: b649d35ee85d4d6075a98173dd255c17
+# Source0-md5: 157c601161da1c2d5a0e48ea1b49e067
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}-milter.init
@@ -36,6 +40,7 @@ Patch2:               am-nosilentrules.patch
 Patch3:                ac2.68.patch
 Patch4:                %{name}-openssl.patch
 Patch5:                %{name}-major.patch
+Patch6:                x32.patch
 URL:           http://www.clamav.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -172,9 +177,12 @@ Biblioteki statyczne clamav.
 %if "%{pld_release}" == "ac"
 %patch2 -p1
 %endif
+%if "%{pld_release}" != "ac"
 %patch3 -p1
-%patch4 -p1
+%endif
+#%patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__libtoolize}
@@ -186,6 +194,7 @@ Biblioteki statyczne clamav.
        --disable-silent-rules \
        --disable-clamav \
        --enable-clamdtop \
+       %{?with_llvm:--enable-llvm --with-system-llvm} \
        %{?with_milter:--enable-milter} \
        --with-dbdir=/var/lib/%{name} \
        --with-no-cache \
This page took 0.694763 seconds and 4 git commands to generate.