[packages/clamav] - -major.patch idea applied upstream

adamg adamg at pld-linux.org
Fri Oct 4 09:24:34 CEST 2019


commit 8a36b4bf1fe98091b9dd506c190c905b4b1e2040
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Fri Oct 4 09:24:23 2019 +0200

    - -major.patch idea applied upstream

 clamav-major.patch | 16 ----------------
 clamav.spec        | 10 ++++------
 2 files changed, 4 insertions(+), 22 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index 92e40ff..3b192eb 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -43,10 +43,9 @@ Patch2:		am-nosilentrules.patch
 %endif
 Patch3:		ac2.68.patch
 Patch4:		%{name}-openssl.patch
-Patch5:		%{name}-major.patch
-Patch6:		x32.patch
-Patch7:		%{name}-add-support-for-system-tomsfastmath.patch
-Patch8:		%{name}-headers.patch
+Patch5:		x32.patch
+Patch6:		%{name}-add-support-for-system-tomsfastmath.patch
+Patch7:		%{name}-headers.patch
 URL:		http://www.clamav.net/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.11
@@ -218,10 +217,9 @@ Biblioteki statyczne clamav.
 %patch3 -p1
 %endif
 #%patch4 -p1
-#%patch5 -p1
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 
 %build
 export CFLAGS="%{rpmcflags} -Wall -W -Wmissing-prototypes -Wmissing-declarations -std=gnu99"
diff --git a/clamav-major.patch b/clamav-major.patch
deleted file mode 100644
index e5fab9c..0000000
--- a/clamav-major.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- clamav-0.98.3/m4/reorganization/version.m4~	2014-05-06 20:59:19.000000000 +0200
-+++ clamav-0.98.3/m4/reorganization/version.m4	2014-05-14 20:33:00.181291208 +0200
-@@ -8,10 +8,11 @@
- LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"
- AC_SUBST([LIBCLAMAV_VERSION])
- 
--AC_DEFINE_UNQUOTED([LIBCLAMAV_FULLVER], "$major.$LC_AGE.$LC_REVISION",
-+MAJOR_VER=$(( $LC_CURRENT - $LC_AGE ))
-+AC_DEFINE_UNQUOTED([LIBCLAMAV_FULLVER], "$MAJOR_VER.$LC_AGE.$LC_REVISION",
-         ["Full library version number"])
- 
--AC_DEFINE_UNQUOTED([LIBCLAMAV_MAJORVER], $major, ["Major library version number"])
-+AC_DEFINE_UNQUOTED([LIBCLAMAV_MAJORVER], $MAJOR_VER, ["Major library version number"])
- 
- AC_DEFINE_UNQUOTED([VERSION],"$VERSION",[Version number of package])
- AC_DEFINE_UNQUOTED([VERSION_SUFFIX],"$VERSION_SUFFIX",[Version suffix for package])
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list