Version 0.4
This commit is contained in:
commit
d4bfe9cb08
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/package-notes-0.4.tar.gz
|
36
package-notes.spec
Normal file
36
package-notes.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user