Version 0.4

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-11-15 23:25:56 +01:00
commit d4bfe9cb08
3 changed files with 38 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/package-notes-0.4.tar.gz

36
package-notes.spec Normal file
View File

@ -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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (package-notes-0.4.tar.gz) = 97a36e4125db99bca02e02eac5d2f823ae38e4c8a083a624f5f72f8d4a4c80fcfb24c8d15bbb922e0f28f5d6da97a87789a881a26aa02e2c1034c485a8866735