diff --git a/0001-logrotate-3.15.1-gcc-10-build-fix.patch b/0001-logrotate-3.15.1-gcc-10-build-fix.patch deleted file mode 100644 index e3185fd..0000000 --- a/0001-logrotate-3.15.1-gcc-10-build-fix.patch +++ /dev/null @@ -1,47 +0,0 @@ -From d515f9a31fb656d31bdbcf8f6700d464e5af9645 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= -Date: Wed, 8 Jan 2020 10:54:53 +0100 -Subject: [PATCH] split declaration and definition of queue variable - -Support compilation with -fno-common flag, which is the default for GCC 10. - -Fixes: #288 -Closes #289 - -Upstream-commit: 908e86191bf062711ea44c922e66d27203e90214 -Signed-off-by: Kamil Dudka ---- - config.c | 2 ++ - logrotate.h | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/config.c b/config.c -index 0e9a828..f027c7e 100644 ---- a/config.c -+++ b/config.c -@@ -28,6 +28,8 @@ - #include "log.h" - #include "logrotate.h" - -+struct logInfoHead logs; -+ - #if !defined(GLOB_ABORTED) && defined(GLOB_ABEND) - #define GLOB_ABORTED GLOB_ABEND - #endif -diff --git a/logrotate.h b/logrotate.h -index 1c178da..6c1c2e7 100644 ---- a/logrotate.h -+++ b/logrotate.h -@@ -89,7 +89,8 @@ struct logInfo { - TAILQ_ENTRY(logInfo) list; - }; - --TAILQ_HEAD(logInfoHead, logInfo) logs; -+TAILQ_HEAD(logInfoHead, logInfo); -+extern struct logInfoHead logs; - - extern int numLogs; - extern int debug; --- -2.21.1 - diff --git a/logrotate-3.15.1.tar.xz.asc b/logrotate-3.15.1.tar.xz.asc deleted file mode 100644 index d01be54..0000000 --- a/logrotate-3.15.1.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEmSqW4HUFbnnNghT5hz2zdXKjezYFAl1pJWIACgkQhz2zdXKj -eza1MhAApfWV+kGtm87Jxp66tZJhPzSu4vMnGzHg5ZIVd44WyFziHd6YjJRrPjKU -HfKLK1aLLpKLw6QSMvPB4o0q/aOstuvLRZhOjAeATCZkMKhVXZwQJ41oKMPDFE9i -l+lzwWV+8x9D4xxJSa98XSPDhW+vyzPSANsKTk5yRit9eD2p+8StptiHjwCwscjm -YKn9lcpojIYU0xmpURuZ6SubBKyrYAr7XukIBDGdrCTNLiIdE24ZwCpxmBoJChK5 -H2qyVIBhsUpQfPzUWJBjKgND6dCceRZLYWt0ebw6A+N52OIEIi1gK1fhk8+2Lbz3 -BUJErF8dYnOyZUFcpAwpNicqRH3xHLOSnhKMpD5nb8DclOLTmZPa42GhljGLBMCm -+m2nkRCfe70T8QrgXbr9s31BQ0klGOXFkPdGEYe1ev+niY7i5F+JP4xYLTM3kxjI -ZeNp9XAo7TVOdCx/OvbRbuBBXrU2T8Hf6JnKXkN2iojX7ZO//up13GrH0HszPLcf -wNmasJ9h8/h+cxWDL5aOp0qYcSq4PTMtIFgrw8pMMSsXf8Jj1fJPrMWA2gBlGwCz -oGT+Q/hS+tVEBSIqBx2euk1I4Hc5ORnJHW2BkijciZ+Kr2FPRenqiU7FeKobiT89 -vSSZ5Mi4vgC3UAF2TT4lbYCHFKAZ4of48DxiZg3x90EK6loasHY= -=T7QM ------END PGP SIGNATURE----- diff --git a/logrotate-3.16.0.tar.xz.asc b/logrotate-3.16.0.tar.xz.asc new file mode 100644 index 0000000..255e6aa --- /dev/null +++ b/logrotate-3.16.0.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEmSqW4HUFbnnNghT5hz2zdXKjezYFAl5ZA1cACgkQhz2zdXKj +ezZBYw//bwXVXlkQwtfSDrLnr2u2XIiRzCVb5yJcGtFCKlucTq/85TnHWgSeO4we +5ffRQRwr8cb0FXLXSF7CVl5KyUbc4NTsrJAhBg9mbMiKgAjzrjdO7fEdqt3MU/Vk +5zS+q7JWcmMiL4HOy5hF2IXOq6qBQVTa9sBRFy1Dn20T8EMWQXZzCWdwsBrPbsSo +1ZEkn1rN7hk4CIRHVgcOAzEHPL0ksOB+a1Dd+HsXCjdnH/kE+cZx70ivXICFkwbu +oxSCROXcauVkg3UnCFnGqhGi3JWadrVTXSTRvLzr58wDxfiKUA7yrB6JnEFe0WRS +j266/qolfWe0tm7ujXXl+JMsnWQDZEGatHdEqh8oj/IU1nOjc8Pturh5j2InaB6+ +Bf99CfgH8mHdfZ1W0vwkViy5+5CU8ng9Os0BAfgSu97+9BgKLg4+yLh8b80OYS3j +pW9svt9wS57ruI/kSy3b8SkfnPVUWnJpG4ZIR2zmUJvj17Ox44pHTb4Hwx9kqCDX +n1cQqujqX8rXZZ9L4N1JX9sHY3o8r1AtSHTkHoT+mBgFnocxM95Cc5gsVnZ4F+vg +zUInw3unM/gdwaa86XfdnlgIOsfLqXP6aRBWeEc/cgEZmSObPRIq8kwrRp3S23dC +XyEyn68QKGY5ce0dQRoJHsw4kvsdni3llC7MC+0cahAj6cPtp9E= +=51u0 +-----END PGP SIGNATURE----- diff --git a/logrotate.spec b/logrotate.spec index e80a12d..c4476c5 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -1,7 +1,7 @@ Summary: Rotates, compresses, removes and mails system log files Name: logrotate -Version: 3.15.1 -Release: 3%{?dist} +Version: 3.16.0 +Release: 1%{?dist} License: GPLv2+ Url: https://github.com/logrotate/logrotate Source: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz @@ -20,9 +20,6 @@ Requires: coreutils Requires(post): systemd Requires(preun): systemd -# make the code compile with gcc-10 -Patch1: 0001-logrotate-3.15.1-gcc-10-build-fix.patch - %description The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate @@ -119,6 +116,9 @@ fi %config(noreplace) %{_sysconfdir}/rwtab.d/logrotate %changelog +* Fri Feb 28 2020 Kamil Dudka - 3.16.0-1 +- new upstream version 3.16.0 + * Thu Jan 30 2020 Kamil Dudka - 3.15.1-3 - make the code compile with gcc-10 diff --git a/sources b/sources index 0877cc1..f527591 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (logrotate-3.15.1.tar.xz) = 51b1fc86098e864218061824877694c37753b02508881285343d2a5f8ea1585608e28296fab4346f3d7967c7bcc5d2d66d2f22a5c8f9dbd1f046fcfd47f1c204 +SHA512 (logrotate-3.16.0.tar.xz) = 2f6afbd6f14a693e3571aa813ed94b85a041a00e31bb274ee0f3055d0eeeb7e79a202eed0d63c0bd5818e96d70855f252b15f70f4320372c9814809153739070