4 Commits

2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Sep 26 12:15:11 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Revert not failing on upackaged files for RHEL
- Delete unpackaged debug files for RHEL
-------------------------------------------------------------------
Fri Sep 13 14:35:07 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Revert removing source files for RHEL 9
- Do not fail on unpackaged files for RHEL
-------------------------------------------------------------------
Thu Sep 12 15:15:22 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>

View File

@@ -18,7 +18,7 @@
%if 0%{?rhel}
%if 0%{?rhel} == 8
%if 0%{?rhel} >= 8
# Found compressed .debug_abbrev section, not attempting dwz compression
# DWARF version 0 unhandled
%global debug_package %{nil}
@@ -102,6 +102,7 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/apparmor.d/usr.bin.%{targe
%if 0%{?rhel}
# Fix OBS debug_package execution.
rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{targetname}-%{version}-*.debug
rm -rf %{buildroot}%{_usrsrc}/debug/%{name}-%{version}-*
%endif
%pre