package-notes/package-notes.spec

37 lines
872 B
RPMSpec
Raw Normal View History

2021-11-15 22:25:56 +00:00
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