LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444)

spec file: Add the installation of the annobon sources into /usr/src/annobin.
This commit is contained in:
Nick Clifton 2021-08-25 13:38:58 +01:00
parent 1d5918a750
commit 29d70de971
2 changed files with 16 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 9.92
Version: 9.93
Release: 1%{?dist}
License: GPLv3+
# Maintainer: nickc@redhat.com
@ -56,9 +56,13 @@ License: GPLv3+
#---------------------------------------------------------------------------------
Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
%global annobin_sources annobin-%{version}.tar.xz
Source: https://nickc.fedorapeople.org/%{annobin_sources}
# For the latest sources use: git clone git://sourceware.org/git/annobin.git
# This is where a copy of the sources will be installed.
%global annobin_source_dir %{_usrsrc}/annobin
# Insert patches here, if needed. Eg:
# Patch01: annobin-foo.patch
@ -425,6 +429,10 @@ rm -f %{buildroot}%{aver}
echo %{gcc_vr} > %{buildroot}%{aver}
# Provide a more complete version information string on the second line.
echo "%{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 was built by gcc version %{gcc_vr} from the %{version} sources" >> %{buildroot}%{aver}
# Also install a copy of the sources into the build tree.
mkdir -p %{buildroot}%{annobin_source_dir}
cp %{_sourcedir}/%{annobin_sources} %{buildroot}%{annobin_source_dir}/latest-annobin.tar.xz
%endif
rm -f %{buildroot}%{_infodir}/dir
@ -471,6 +479,7 @@ fi
%files plugin-gcc
%{ANNOBIN_GCC_PLUGIN_DIR}
%{aver}
%{annobin_source_dir}/latest-annobin.tar.xz
%endif
%if %{with annocheck}
@ -482,6 +491,10 @@ fi
#---------------------------------------------------------------------------------
%changelog
* Wed Aug 25 2021 Nick Clifton <nickc@redhat.com> - 9.93-1
- LLVM Plugin: Automatically choose the correct tests to run, based upon the version of Clang installed. (#1997444)
- spec file: Add the installation of the annobon sources into /usr/src/annobin.
* Tue Aug 24 2021 Nick Clifton <nickc@redhat.com> - 9.92-1
- Annocheck: Fix memory corruption. (#1996963)
- spec file: Add the creation of a gcc-plugin version info file in /usr/lib/rpm/redhat.

View File

@ -1 +1 @@
SHA512 (annobin-9.92.tar.xz) = 6edd56c7959b80254ecf08ff3aa2a59ff31146494cd20856e52f1f632bfd0e7d5a264dcf7227215f74b5e036aaad3d7c56d40ff4d57929446eafd33620e17b50
SHA512 (annobin-9.93.tar.xz) = 115a65e5cefdf19ba71185008f3bdd0114dd52c659c2c28868d8c90ef7bb7a28f5bf8b57c1e0050c0652a37e3e448873e23d843e417d1f62e676034c76f6aea4