Fix rpm query for gcc version
This commit is contained in:
parent
dc77d4f997
commit
fbf6e93ffc
@ -16,7 +16,7 @@
|
|||||||
Name: annobin
|
Name: annobin
|
||||||
Summary: Binary annotation plugin for GCC
|
Summary: Binary annotation plugin for GCC
|
||||||
Version: 8.69
|
Version: 8.69
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
URL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
||||||
@ -42,7 +42,7 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
# BZ 1607430 - There is an exact requirement on the major version of gcc.
|
# BZ 1607430 - There is an exact requirement on the major version of gcc.
|
||||||
%define gcc_runtime_req_version %(rpm -q --qf '%{version}' gcc)
|
%define gcc_runtime_req_version %(rpm -q --qf '%%{version}' gcc)
|
||||||
|
|
||||||
BuildRequires: gcc gcc-plugin-devel gcc-c++
|
BuildRequires: gcc gcc-plugin-devel gcc-c++
|
||||||
Requires: gcc = %{gcc_runtime_req_version}
|
Requires: gcc = %{gcc_runtime_req_version}
|
||||||
@ -204,6 +204,9 @@ make check
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 28 2019 Björn Esser <besser82@fedoraproject.org> - 8.69-3
|
||||||
|
- Fix rpm query for gcc version.
|
||||||
|
|
||||||
* Mon Jan 28 2019 Nick Clifton <nickc@redhat.com> - 8.69-2
|
* Mon Jan 28 2019 Nick Clifton <nickc@redhat.com> - 8.69-2
|
||||||
- Add an exact requirement on the major version of gcc. (#1607430)
|
- Add an exact requirement on the major version of gcc. (#1607430)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user