fix install-debuginfo by patching debuginfo suffix for openmamba [release 4.14.0-2mamba;Tue Jan 10 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:50:32 +01:00
parent 97d087827b
commit 24b67e7fe8
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- dnf-4.14.0/dnf/package.py.orig 2022-09-10 04:34:15.000000000 +0200
+++ dnf-4.14.0/dnf/package.py 2023-01-10 18:15:08.286877400 +0100
@@ -42,7 +42,7 @@
class Package(hawkey.Package):
""" Represents a package. #:api """
- DEBUGINFO_SUFFIX = "-debuginfo" # :api
+ DEBUGINFO_SUFFIX = "-debug" # :api
DEBUGSOURCE_SUFFIX = "-debugsource" # :api
def __init__(self, initobject, base):

View File

@ -1,6 +1,6 @@
Name: dnf
Version: 4.14.0
Release: 1mamba
Release: 2mamba
Summary: Package manager based on libdnf and libsolv
Group: System/Management
Vendor: openmamba
@ -16,6 +16,7 @@ Patch4: dnf-4.13.0-conf-no_gpg_check.patch
Patch5: dnf-4.0.4-rpm5-CALLBACK.patch
Patch6: dnf-4.2.18-i586-default-arch.patch
Patch7: dnf-4.2.18-arm-default-arch.patch
Patch8: dnf-4.14.0-debuginfo-suffix-openmamba.patch
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
@ -79,6 +80,7 @@ This package provides a configuration compatibility layer with YUM.
#%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
%cmake -d build \
@ -167,6 +169,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/yum
%{_mandir}/man8/yum.8*
%changelog
* Tue Jan 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.0-2mamba
- fix install-debuginfo by patching debuginfo suffix for openmamba
* Sat Sep 10 2022 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist