diff --git a/varnish-modules-0.15.0_format_fix.patch b/varnish-modules-0.15.0_format_fix.patch new file mode 100644 index 0000000..87ad7cb --- /dev/null +++ b/varnish-modules-0.15.0_format_fix.patch @@ -0,0 +1,11 @@ +--- src/vmod_tcp.c.orig 2018-10-10 20:21:14.324704356 +0200 ++++ src/vmod_tcp.c 2018-10-10 20:21:44.329466200 +0200 +@@ -174,7 +174,7 @@ + sizeof(pacerate)) != 0) + VSLb(ctx->vsl, SLT_VCL_Error, "set_socket_pace(): Error setting pace rate."); + else +- VSLb(ctx->vsl, SLT_VCL_Log, "vmod-tcp: Socket paced to %lu KB/s.", rate); ++ VSLb(ctx->vsl, SLT_VCL_Log, "vmod-tcp: Socket paced to %jd KB/s.", (intmax_t)rate); + + # ifndef NDEBUG + int retval; diff --git a/varnish-modules.spec b/varnish-modules.spec index 37f49cd..8fe1abd 100644 --- a/varnish-modules.spec +++ b/varnish-modules.spec @@ -3,12 +3,14 @@ Name: varnish-modules Version: 0.15.0 -Release: 6%{?dist} +Release: 8%{?dist} Summary: A collection of modules ("vmods") extending Varnish VCL License: BSD URL: https://github.com/varnish/%{name} Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz + +# Upstream issue #122 Patch10: varnish-modules-0.15.0_fix_saintmode_for_varnish_6.1.patch Patch11: varnish-modules-0.15.0_fix_simple_formatting_bug.patch BuildRequires: gcc @@ -38,7 +40,7 @@ tcp, var, xkey %prep %setup -q -%if "%varnishver" >= "6.1" +%if "%varnishver" >= "6.1" %patch10 -p1 %endif %patch11 -p1 @@ -65,6 +67,12 @@ rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro %{_mandir}/man3/*.3* %changelog +* Fri Nov 15 2019 Ingvar Hagelund 0.15.0-8 +- Rebuilt for varnish-6.0.5 + +* Wed Sep 18 2019 Ingvar Hagelund - 0.15.0-7 +- Rebuilt for varnish-6.0.4 + * Sat Jul 27 2019 Fedora Release Engineering - 0.15.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild