[Bug 1233417] New: please include package-notes-srpm-macros
https://bugzilla.suse.com/show_bug.cgi?id=1233417 Bug ID: 1233417 Summary: please include package-notes-srpm-macros Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: Other OS: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: daniel@mariadb.org QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Upstream bug reports from users sometimes miss important information like the OS and version on which it occurred. Embedding this information in the ELF information of packages allows it to be queried without providing a long list of distro specific query mechanisms. $ readelf -j .note.package /usr/libexec/dleyna-renderer-service Displaying notes found in: .note.package Owner Data size Description FDO 0x0000007c FDO_PACKAGING_METADATA Packaging Metadata: {"type":"rpm","name":"dleyna","version":"0.8.3-5.fc41","architecture":"x86_64","osCpe":"cpe:/o:fedoraproject:fedora:40"} To include ELF package metadata[1] in coredump information[2], a package-notes-srpm-macros package (from Fedora/RHEL) or Debian dh-package-notes [3], would facilitate the ease of incorporation. The contents of package minimally need to be: $ rpm -ql package-notes-srpm-macros /usr/lib/rpm/macros.d/macros.package-notes-srpm /usr/lib/rpm/redhat/redhat-package-notes Key part is the first file (same location would help developers like me), that contains the reference to the second file that can be renamed for opensuse purposes. This is from the upstream[4]. [1] https://systemd.io/ELF_PACKAGE_METADATA/ [2] https://systemd.io/COREDUMP/ [3] https://packages.debian.org/bookworm/all/dh-package-notes/filelist [4] https://github.com/systemd/package-notes/blob/main/rpm/redhat-package-notes.... When packaged, can the propagate to other openSUSE and SLES releases out of release cycle where binutils >=2.39 is part of the distribution. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com