From 2cd942d2403ee62ce08262c4f61f00b53a606c166f2b19743b7fd4aa92bb18c4 Mon Sep 17 00:00:00 2001 From: Witek Bedyk Date: Fri, 7 Feb 2025 15:43:34 +0000 Subject: [PATCH] Remove more debug files for Red Hat Enterprise Linux OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=46 --- golang-github-prometheus-promu.changes | 5 +++++ golang-github-prometheus-promu.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/golang-github-prometheus-promu.changes b/golang-github-prometheus-promu.changes index 6a7ff20..6591d22 100644 --- a/golang-github-prometheus-promu.changes +++ b/golang-github-prometheus-promu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 6 16:01:57 UTC 2025 - Witek Bedyk + +- Remove more debug files for Red Hat Enterprise Linux + ------------------------------------------------------------------- Mon Dec 9 10:46:49 UTC 2024 - Witek Bedyk diff --git a/golang-github-prometheus-promu.spec b/golang-github-prometheus-promu.spec index ccc80d6..cff1db5 100644 --- a/golang-github-prometheus-promu.spec +++ b/golang-github-prometheus-promu.spec @@ -1,7 +1,7 @@ # # spec file for package golang-github-prometheus-promu # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,6 +60,7 @@ go build %if 0%{?rhel} rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{shortname}*.debug rm -rf %{buildroot}/usr/lib/debug/.build-id/* +rm -rf %{buildroot}%{_usrsrc}/debug/%{name}-%{version}-* %endif %install