From 3c0f3a9fe47b4ae589ec388a229495b3a7c91284ffbf670e2e205fdc6b4ab95f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Jun 2020 19:34:14 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=101 --- varnish.changes | 6 ++++++ varnish.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/varnish.changes b/varnish.changes index 45fc520..78cf0db 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 9 19:33:32 UTC 2020 - Jan Engelhardt + +- Update Git-Web repository link +- Set CFLAGS+=-fcommon. + ------------------------------------------------------------------- Tue Mar 17 12:59:44 UTC 2020 - Jan Engelhardt diff --git a/varnish.spec b/varnish.spec index 40956da..b67c8be 100644 --- a/varnish.spec +++ b/varnish.spec @@ -32,8 +32,7 @@ Summary: Accelerator for HTTP services License: BSD-2-Clause Group: Productivity/Networking/Web/Proxy URL: http://varnish-cache.org/ -#Git-Clone: git://git.varnish-cache.org/varnish-cache -#Git-Web: https://varnish-cache.org/trac/browser +#Git-Web: https://github.com/varnishcache/varnish-cache Source: https://varnish-cache.org/_downloads/%name-%version.tgz Source3: varnish.sysconfig Source5: varnish.logrotate @@ -52,9 +51,7 @@ BuildRequires: systemd-rpm-macros BuildRequires: xz Requires: c_compiler Requires(pre): %_sbindir/useradd %_sbindir/groupadd -%if 0%{?suse_version} >= 1010 Recommends: logrotate -%endif %description Varnish is an HTTP accelerator. Often called Reverse Proxy, it is an @@ -98,7 +95,7 @@ This package holds the development files for varnish. %autosetup -p1 %build -export CFLAGS="%optflags -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized" +export CFLAGS="%optflags -fcommon -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized" %ifarch %ix86 export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard" %endif From c88194dd38716d65749b60020432e1e795d05c5ee7e25a4ba05bc49c48b84fe6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 23 Jun 2020 07:35:26 +0000 Subject: [PATCH 2/2] - Disable LTO, this randomly fails during link stage. OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=102 --- varnish.changes | 5 +++++ varnish.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/varnish.changes b/varnish.changes index 78cf0db..65e34a8 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 23 07:35:15 UTC 2020 - Jan Engelhardt + +- Disable LTO, this randomly fails during link stage. + ------------------------------------------------------------------- Tue Jun 9 19:33:32 UTC 2020 - Jan Engelhardt diff --git a/varnish.spec b/varnish.spec index b67c8be..812ba34 100644 --- a/varnish.spec +++ b/varnish.spec @@ -95,6 +95,7 @@ This package holds the development files for varnish. %autosetup -p1 %build +%define _lto_cflags %nil export CFLAGS="%optflags -fcommon -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized" %ifarch %ix86 export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"