From 35fd563cf43044c01a7ce4ab58cab4800840c775 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 27 Jul 2017 14:58:31 +0100 Subject: [PATCH] Initial Commit (#1451407) --- .gitignore | 1 + annobin.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 annobin.spec diff --git a/.gitignore b/.gitignore index e69de29..ccb1674 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/annobin-2.0.tar.xz diff --git a/annobin.spec b/annobin.spec new file mode 100644 index 0000000..2c9dfaa --- /dev/null +++ b/annobin.spec @@ -0,0 +1,57 @@ +Name: annobin +Summary: Binary annotation plugin for GCC +Version: 2.0 +Release: 1%{?dist} + +License: GPLv3, MIT/X11 (config/libcutl.m4, install-sh) +Group: Development/Tools +URL: https://fedoraproject.org/wiki/Toolchain/Watermark + +Source: https://nickc.fedorapeople.org/annobin-2.0.tar.xz + +# This is a gcc plugin, hence gcc is required. +Requires: gcc + +BuildRequires: gcc-plugin-devel pkgconfig + +%description +A plugin for GCC that records extra information in the files that it compiles. +This information can be used to analyze the files, and provide the loader +with extra information about the requirements of the loaded file. + +%global ANNOBIN_PLUGIN_DIR %(g++ -print-file-name=plugin) + +%prep +%autosetup -p1 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%files +%{ANNOBIN_PLUGIN_DIR} +%{_bindir}/built-by.sh +%{_bindir}/check-abi.sh +%{_bindir}/hardened.sh +%license COPYING3 LICENSE +%exclude %{_datadir}/doc/annobin-plugin/COPYING3 +%exclude %{_datadir}/doc/annobin-plugin/LICENSE +%doc %{_datadir}/doc/annobin-plugin/annotation.proposal.txt + +%changelog +* Wed Jun 28 2017 Nick Clifton - annobin-2.0-1.fc25 +- Fixes for problems reported by the package submission review: + * Add %%license entry to %%file section. + * Update License and BuildRequires tags. + * Add Requires tag. + * Remove %%clean. + * Add %%check. + * Clean up the %%changelog. +- Update to use version 2 of the specification and sources. + +* Thu May 11 2017 Nick Clifton - annobin-1.0-1.fc25 +- Initial submission. diff --git a/sources b/sources index e69de29..a970591 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (annobin-2.0.tar.xz) = faf8eb834b74352f684a8eac9f90cfbb5ec0ecc20d4618f388ac31ff194369820455b88203d42398e1a39e0f44e3e5991e6777f606a2c1340ef7e276e3985ba4