Эх сурвалжийг харах

clamav-0.101.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11975 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 жил өмнө
parent
commit
8308c8c54d
1 өөрчлөгдсөн 14 нэмэгдсэн , 1 устгасан
  1. 14 1
      c/clamav/clamav-vl.spec

+ 14 - 1
c/clamav/clamav-vl.spec

@@ -1,3 +1,5 @@
+%bcond_with external_llvm
+
 %define dbdir %{_localstatedir}/lib/clamav
 
 %if %{?_dist_release}!="vl5"
@@ -11,7 +13,7 @@
 Summary: Clam AntiVirus
 Summary(ja): Clamアンチウィルススキャナ
 Name: clamav
-Version: 0.100.2
+Version: 0.101.0
 Release: 1%{?_dist_release}
 License: GPL
 Group: Applications/System
@@ -26,6 +28,9 @@ Source5: clamav-milter.logrotate
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: bzip2-devel, curl-devel > 7.10.0, gmp-devel, ncurses-devel
 BuildRequires: openssl-devel, pcre-devel, libxml2-devel, zlib-devel
+%if %{with external_llvm}
+BuildRequires: llvm-devel
+%endif
 %if %{?milter}
 BuildRequires: sendmail-devel
 %endif
@@ -88,6 +93,11 @@ perl -pi -e 's|^#LogFile .+$|LogFile /var/log/clamav/clamav-milter.log|' etc/cla
 CFLAGS=%{pcre_cflags} \
 %configure \
 	--disable-clamav \
+%if %{with external_llvm}
+	--enable-llvm \
+%else
+	--with-system-llvm=no \
+%endif
 %if %{?milter}
 	--enable-milter \
 %endif
@@ -225,6 +235,9 @@ fi
 %{_includedir}/*
 
 %changelog
+* Fri Dec 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.101.0-1
+- new upstream release.
+
 * Tue Nov 20 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.100.2-1
 - new upstream release.