public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/package-notes] f43: Version 0.18
Date: Tue, 02 Jun 2026 16:28:55 GMT [thread overview]
Message-ID: <178041773521.1.12416461917807292218.rpms-package-notes-d92f36bf8f15@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/package-notes
Branch : f43
Commit : d92f36bf8f15529f82a6d5858f3f85a92b97eb9e
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2026-06-02T18:25:53+02:00
Stats : +37/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/package-notes/c/d92f36bf8f15529f82a6d5858f3f85a92b97eb9e?branch=f43
Log:
Version 0.18
- This is a major version update that adds dlopen-notes parser,
allows automatic generation of
Requires/Recommends/Suggests from package dlopen notes. See the new
macro file for details of use and for example
https://src.fedoraproject.org/rpms/systemd/pull-request/246.
- The new fileattr plugin is in the package-notes subpackage, so that
needs to be installed to activate the feature.
- No changes to package note handling.
---
diff --git a/.gitignore b/.gitignore
index 2e1918a..99c4328 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,6 @@
/package-notes-0.4.tar.gz
/redhat-package-notes
+/package-notes-0.15.tar.gz
+/package-notes-0.16.tar.gz
+/package-notes-0.17.tar.gz
+/package-notes-0.18.tar.gz
diff --git a/package-notes.spec b/package-notes.spec
index dd0b59d..c63d23d 100644
--- a/package-notes.spec
+++ b/package-notes.spec
@@ -1,22 +1,35 @@
Name: package-notes
-Version: 0.5
+Version: 0.18
Release: %autorelease
-Summary: Generate LDFLAGS to insert .note.package section
+Summary: ELF Package and Dlopen Notes
License: 0BSD
URL: https://github.com/systemd/package-notes
-
-Source0: redhat-package-notes.in
-Source1: macros.package-notes-srpm
+Source: https://github.com/systemd/package-notes/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
BuildArch: noarch
+BuildRequires: make
+
+Requires: python3dist(pyelftools)
%description
-This package provides a generator of linker scripts that insert a section with
-an ELF note with a JSON payload that describes the package the binary was built
-for.
+This package provides rpm macros to generate an '.note.package' ELF note in
+compiled binaries (programs and shared libraries) to provide metadata about
+the package for which the code was compiled.
+
+See https://systemd.io/ELF_PACKAGE_METADATA/ for the overview and details.
+
+It also provides scripts to extract and display '.note.dlopen' ELF notes that
+are used to describe libraries loaded via dlopen(3).
+
+See https://systemd.io/ELF_DLOPEN_METADATA/ for the overview and details.
+
+%files
+%{_bindir}/dlopen-notes
+%{_fileattrsdir}/dlopen_notes.attr
+%{_mandir}/man1/dlopen-notes.1*
%package srpm-macros
-Summary: %{summary}
+Summary: RPM macros to add .note.package ELF note
Obsoletes: package-notes < 0.5
# Those are minimum versions that implement --package-metadata
Conflicts: binutils < 2.37-34
@@ -24,23 +37,26 @@ Conflicts: binutils-gold < 2.37-34
Conflicts: mold < 1.3.0
Conflicts: lld < 14.0.5-4
+%files srpm-macros
+%{_rpmconfigdir}/redhat/redhat-package-notes
+%{_rpmmacrodir}/macros.package-notes-srpm
+
%description srpm-macros
RPM macros to insert a section with an ELF note with a JSON payload that
describes the package the binary was built for via a compiler spec file.
%prep
-# nothing to do
+%autosetup -p1
%build
-sed "s|@OSCPE@|$(cat /usr/lib/system-release-cpe)|" %{SOURCE0} >redhat-package-notes
+sed "s|@OSCPE@|$(cat /usr/lib/system-release-cpe)|" rpm/redhat-package-notes.in >rpm/redhat-package-notes
%install
-install -Dt %{buildroot}%{_rpmconfigdir}/redhat/ redhat-package-notes
-install -m0644 -Dt %{buildroot}%{_rpmmacrodir}/ %{SOURCE1}
+%make_install
-%files srpm-macros
-%{_rpmconfigdir}/redhat/redhat-package-notes
-%{_rpmmacrodir}/macros.package-notes-srpm
+install -Dt %{buildroot}%{_rpmconfigdir}/redhat/ rpm/redhat-package-notes
+install -m0644 -Dt %{buildroot}%{_rpmmacrodir}/ rpm/macros.package-notes-srpm
+install -m0644 -Dt %{buildroot}%{_fileattrsdir}/ rpm/dlopen_notes.attr
%changelog
%autochangelog
diff --git a/sources b/sources
index e69de29..2991b3c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (package-notes-0.18.tar.gz) = f378bf78cfc9295d18688dc268fd697ef07eea6a8892f1e5706299a2f3ac9cb268952686b7027d946494285c777f81d385a94d6c2c010f51ccc5b0fdd472a26c
reply other threads:[~2026-06-02 16:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178041773521.1.12416461917807292218.rpms-package-notes-d92f36bf8f15@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox