From 70d1979dd0e127cc7bf9b629b1fcaa4fbc08dabae5588de6f9a9279460eead0c Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 12 Dec 2017 12:45:51 +0000 Subject: [PATCH] - Fix gcc dependences to use %gcc_version. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/avr-libc?expand=0&rev=2 --- avr-libc.changes | 5 +++++ avr-libc.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/avr-libc.changes b/avr-libc.changes index 689cd00..bab0b64 100644 --- a/avr-libc.changes +++ b/avr-libc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 12 12:45:28 UTC 2017 - rguenther@suse.com + +- Fix gcc dependences to use %gcc_version. + ------------------------------------------------------------------- Tue Dec 12 09:12:18 UTC 2017 - kkaempf@suse.com diff --git a/avr-libc.spec b/avr-libc.spec index 9e49fac..f22ea2c 100644 --- a/avr-libc.spec +++ b/avr-libc.spec @@ -47,13 +47,13 @@ Source8: %{name}.keyring Source9: logicp-1.02.tgz Source100: %{name}-rpmlintrc BuildRequires: cross-avr-binutils -BuildRequires: cross-avr-gcc7-bootstrap +BuildRequires: cross-avr-gcc%{gcc_version}-bootstrap BuildRequires: doxygen BuildRequires: fdupes BuildRequires: findutils BuildRequires: netpbm Requires: cross-avr-binutils -Requires: cross-avr-gcc7 +Requires: cross-avr-gcc%{gcc_version} Recommends: avr-example BuildRoot: %{_tmppath}/%{name}-%{version}-build # does not depend on host arch. bnc#233520