From d4bfe9cb082c8dc1fb051c404613c0d2a69cdf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 15 Nov 2021 23:25:56 +0100 Subject: [PATCH] Version 0.4 --- .gitignore | 1 + package-notes.spec | 36 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 38 insertions(+) create mode 100644 .gitignore create mode 100644 package-notes.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95c2ed8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/package-notes-0.4.tar.gz diff --git a/package-notes.spec b/package-notes.spec new file mode 100644 index 0000000..61c0d87 --- /dev/null +++ b/package-notes.spec @@ -0,0 +1,36 @@ +Name: package-notes +Version: 0.4 +Release: %autorelease +Summary: Generate a linker script to insert .note.package section + +%global forgeurl https://github.com/systemd/package-notes +%forgemeta + +License: CC0 +URL: %{forgeurl} +Source0: %{forgesource} + +BuildArch: noarch +BuildRequires: python3-devel +Requires: python3dist(simplejson) + +%description +This package provides a generator of linker scripts that insert a section with +a note with a JSON payload that describes the package the binary was built for. + +%prep +%autosetup + +%build +# nothing to do + +%install +install -Dt %{buildroot}%{_bindir}/ generate-package-notes +install -m 0644 -Dt %{buildroot}%{_mandir}/man1/ debian/generate-package-notes.1 + +%files +%{_bindir}/generate-package-notes +%{_mandir}/man1/generate-package-notes.1* + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..180591a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (package-notes-0.4.tar.gz) = 97a36e4125db99bca02e02eac5d2f823ae38e4c8a083a624f5f72f8d4a4c80fcfb24c8d15bbb922e0f28f5d6da97a87789a881a26aa02e2c1034c485a8866735