From f34af4d7a38d78bb8b0278ffd84a803a912c694b Mon Sep 17 00:00:00 2001 From: houyingchao <1348375921@qq.com> Date: Fri, 4 Mar 2022 15:14:59 +0800 Subject: [PATCH] Strip binary files --- varnish.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/varnish.spec b/varnish.spec index 8fa3001..154058f 100644 --- a/varnish.spec +++ b/varnish.spec @@ -1,9 +1,7 @@ -%global debug_package %{nil} - Name: varnish Summary: A web application accelerator Version: 7.0.1 -Release: 3 +Release: 4 License: BSD URL: https://www.varnish-cache.org/ Source0: http://varnish-cache.org/_downloads/varnish-%{version}.tgz @@ -140,7 +138,8 @@ test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc %config(noreplace) %{_sysconfdir}/varnish/default.vcl %config(noreplace) %{_sysconfdir}/logrotate.d/varnish %config %{_sysconfdir}/ld.so.conf.d/varnish-%{_arch}.conf - +%exclude /usr/lib/debug/* +%exclude /usr/src/debug/* %{_unitdir}/varnish.service %{_unitdir}/varnishncsa.service @@ -159,6 +158,9 @@ test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc %{_mandir}/man7/*.7* %changelog +* Fri Mar 04 2022 houyingchao - 7.0.1-4 +- Strip binary files + * Fri Feb 18 2022 caodongxia - 7.0.1-3 - Fix varnish.service reload failed due to miss conf -- Gitee