rpms/klamav/F-8 klamav.spec,1.12,1.13

Andy Shevchenko (andriy) fedora-extras-commits at redhat.com
Thu Jan 10 15:24:24 UTC 2008


Author: andriy

Update of /cvs/extras/rpms/klamav/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10449

Modified Files:
	klamav.spec 
Log Message:
Fix build break


Index: klamav.spec
===================================================================
RCS file: /cvs/extras/rpms/klamav/F-8/klamav.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- klamav.spec	10 Jan 2008 11:35:26 -0000	1.12
+++ klamav.spec	10 Jan 2008 15:23:44 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: Clam Anti-Virus on the KDE Desktop
 Name: klamav
 Version: 0.41.1
-Release: 11%{?dist}
+Release: 14%{?dist}
 Source0: http://downloads.sourceforge.net/klamav/%{name}-%{version}.tar.bz2
 Patch0: klamav-suse-clamav-path.diff
 Patch1: klamav-0.41.1-open-mode.patch
@@ -38,10 +38,15 @@
 %patch3 -p1 -b .pwd-echo
 %patch4 -p1 -b .clam0.92
 %patch5 -p1 -b .gcc43
-%patch6 -p1 -b .maximum
 
 %build
 %configure --disable-rpath --without-included-sqlite
+
+# Use this trick to patch generated files
+make -C src klamavconfig.cpp
+# Don't use patch macro here
+patch -p1 -b --suffix=.maximum < %{PATCH6}
+
 make %{?_smp_mflags}
 
 %install
@@ -94,7 +99,7 @@
 %{_datadir}/icons/*/*x*/apps/klamav.png
 
 %changelog
-* Thu Jan 10 2008 Andy Shevchenko <andy at smile.org.ua> 0.41.1-11
+* Thu Jan 10 2008 Andy Shevchenko <andy at smile.org.ua> 0.41.1-14
 - inherit archive limit defaults and pass their to the clamav
   even if they are equal to zero (#428066)
 




More information about the fedora-extras-commits mailing list