Annocheck: Improve handling of tool versions
This commit is contained in:
parent
f4c6aed2aa
commit
2e6986d6e7
17
annobin.spec
17
annobin.spec
@ -1,11 +1,12 @@
|
||||
|
||||
Name: annobin
|
||||
Summary: Annotate and examine compiled binary files
|
||||
Version: 10.97
|
||||
Version: 10.99
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+
|
||||
URL: https://sourceware.org/annobin/
|
||||
# Maintainer: nickc@redhat.com
|
||||
# Web Page: https://sourceware.org/annobin/
|
||||
# Watermark Protocol: https://fedoraproject.org/wiki/Toolchain/Watermark
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -37,7 +38,7 @@ URL: https://sourceware.org/annobin/
|
||||
# checking logic or when building on RHEL-7 or earlier.
|
||||
%global with_hard_gcc_version_requirement 1
|
||||
|
||||
%bcond_with plugin_rebuild
|
||||
%bcond_without plugin_rebuild
|
||||
# Allow the building of annobin without using annobin itself.
|
||||
# This is because if we are bootstrapping a new build environment we can have
|
||||
# a new version of gcc installed, but without a new of annobin installed.
|
||||
@ -396,7 +397,14 @@ make -C gcc-plugin clean
|
||||
BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so"
|
||||
|
||||
# Disable the standard annobin plugin so that we do get conflicts.
|
||||
# Note - Fedora's rpm uses a different way of evaluating macros.
|
||||
%if 0%{?fedora} == 0
|
||||
echo "OLD EVAL"
|
||||
OPTS="$(rpm --eval '%undefine _annotated_build %build_cflags %build_ldflags')"
|
||||
%else
|
||||
echo "NEW EVAL"
|
||||
OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')"
|
||||
%endif
|
||||
|
||||
# If building on systems with an assembler that does not support the
|
||||
# .attach_to_group pseudo op (eg RHEL-7) then enable the next line.
|
||||
@ -508,6 +516,11 @@ fi
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Wed Dec 21 2022 Nick Clifton <nickc@redhat.com> - 10.99-1
|
||||
- Annocheck: Improve handling of tool versions.
|
||||
- Spec File: Fix building with plugin_rebuild enabled.
|
||||
- GCC plugin: Fix building with gcc-13.
|
||||
|
||||
* Fri Dec 16 2022 Nick Clifton <nickc@redhat.com> - 10.97-1
|
||||
- Annocheck: Add test for binaries built by cross compilers.
|
||||
- Annocheck: Improve heuristic used to detect binaries without code. (#2144533)
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (annobin-10.97.tar.xz) = 3d9f302fbf69c388c760e67c953464b36410d3ad10cd489e5eb15ec5c9d1272775a9a8ac6ded4a89807b5d651e765ae2782143113de878eb525c562250039a4e
|
||||
SHA512 (annobin-10.99.tar.xz) = 601bd90aa4b6528f595efebf5b864aae5176e8e9d80c7f9cf77a1252b85a15c8440866a1f4881176f6bb50418c037e8924f32456533e90de473dae8abe92d53e
|
||||
|
Loading…
Reference in New Issue
Block a user