rpms/klamav/devel klamav.spec,1.14,1.15

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


Author: andriy

Update of /cvs/extras/rpms/klamav/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv648

Modified Files:
	klamav.spec 
Log Message:
Use trick to patch generated files


Index: klamav.spec
===================================================================
RCS file: /cvs/extras/rpms/klamav/devel/klamav.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- klamav.spec	10 Jan 2008 11:33:00 -0000	1.14
+++ klamav.spec	10 Jan 2008 14:09:57 -0000	1.15
@@ -1,7 +1,7 @@
 Summary: Clam Anti-Virus on the KDE Desktop
 Name: klamav
 Version: 0.41.1
-Release: 11%{?dist}
+Release: 12%{?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,14 @@
 %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 klamconfig.cpp
+%patch6 -p1 -b .maximum
+
 make %{?_smp_mflags}
 
 %install
@@ -94,7 +98,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-12
 - 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