diff --git a/annobin.spec b/annobin.spec index a654c09..01a427e 100644 --- a/annobin.spec +++ b/annobin.spec @@ -16,7 +16,7 @@ Name: annobin Summary: Binary annotation plugin for GCC Version: 8.69 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://fedoraproject.org/wiki/Toolchain/Watermark @@ -41,7 +41,11 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz #--------------------------------------------------------------------------------- +# BZ 1607430 - There is an exact requirement on the major version of gcc. +%define gcc_runtime_req_version %(rpm -q --qf '%{version}' gcc) + BuildRequires: gcc gcc-plugin-devel gcc-c++ +Requires: gcc = %{gcc_runtime_req_version} %description Provides a plugin for GCC that records extra information in the files @@ -200,6 +204,9 @@ make check #--------------------------------------------------------------------------------- %changelog +* Mon Jan 28 2019 Nick Clifton - 8.69-2 +- Add an exact requirement on the major version of gcc. + * Thu Jan 24 2019 Nick Clifton - 8.69-1 - Annobin: Add support for .text.startup and .text.exit sections generated by gcc 9. - Annocheck: Add a note displaying tool.