Browse Source

clamav-0.99.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10057 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 8 years ago
parent
commit
209758f2a9
1 changed files with 11 additions and 4 deletions
  1. 11 4
      c/clamav/clamav-vl.spec

+ 11 - 4
c/clamav/clamav-vl.spec

@@ -6,10 +6,12 @@
 %define milter 0
 %endif
 
+%define pcre_cflags %(pcre-config --cflags)
+
 Summary: Clam AntiVirus
 Summary(ja): Clamアンチウィルススキャナ
 Name: clamav
-Version: 0.99
+Version: 0.99.1
 Release: 1%{?_dist_release}
 License: GPL
 Group: Applications/System
@@ -83,11 +85,13 @@ perl -pi -e 's|^#PidFile .+$|PidFile /var/run/clamav/clamav-milter.pid|' etc/cla
 perl -pi -e 's|^#LogFile .+$|LogFile /var/log/clamav/clamav-milter.log|' etc/clamav-milter.conf
 
 %build
+CFLAGS=%{pcre_cflags} \
+%configure \
+	--disable-clamav \
 %if %{?milter}
-%configure --disable-clamav --enable-milter --with-dbdir=%{dbdir}
-%else
-%configure --disable-clamav --with-dbdir=%{dbdir}
+	--enable-milter \
 %endif
+	--with-dbdir=%{dbdir}
 
 make %{?_smp_mflags}
 
@@ -217,6 +221,9 @@ fi
 %{_includedir}/*
 
 %changelog
+* Fri Mar  4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99.1-1
+- new upstream release.
+
 * Thu Dec  3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99-1
 - new upstream release.