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
This commit is contained in:
Witek Bedyk 2025-02-07 15:43:34 +00:00 committed by Git OBS Bridge
parent c7ac9f1374
commit 2cd942d240
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 6 16:01:57 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
- Remove more debug files for Red Hat Enterprise Linux
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 9 10:46:49 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com> Mon Dec 9 10:46:49 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package golang-github-prometheus-promu # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -60,6 +60,7 @@ go build
%if 0%{?rhel} %if 0%{?rhel}
rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{shortname}*.debug rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{shortname}*.debug
rm -rf %{buildroot}/usr/lib/debug/.build-id/* rm -rf %{buildroot}/usr/lib/debug/.build-id/*
rm -rf %{buildroot}%{_usrsrc}/debug/%{name}-%{version}-*
%endif %endif
%install %install