[packages/clamav] - undefine llvm for x32 and properly for ac - rel 2

baggins baggins at pld-linux.org
Sun May 3 21:27:30 CEST 2015


commit da430249ac6004a88777db47bba0e4c7756f2712
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 3 21:26:56 2015 +0200

    - undefine llvm for x32 and properly for ac
    - rel 2

 clamav.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index ae4f80d..4c1551c 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -4,17 +4,21 @@
 #
 # Conditional build:
 %bcond_without	milter		# milter interface subpackage
-%if "%{pld_release}" == "ac"
-%bcond_with	llvm		# LLVM support
-%else
 %bcond_without	llvm		# LLVM support
+
+%if "%{pld_release}" == "ac"
+%undefine with_llvm
+%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.7
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Daemons
 Source0:	http://downloads.sourceforge.net/clamav/%{name}-%{version}.tar.gz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/da430249ac6004a88777db47bba0e4c7756f2712



More information about the pld-cvs-commit mailing list