From 470c76028fdfd823c4a870440cb63ff03d48f2b8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jan 2020 01:19:46 +0000 Subject: [PATCH] Use __cc macro instead of hard-coding gcc --- dcraw.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dcraw.spec b/dcraw.spec index 7a590ad..3a51084 100644 --- a/dcraw.spec +++ b/dcraw.spec @@ -1,7 +1,7 @@ Summary: Tool for decoding raw image data from digital cameras Name: dcraw Version: 9.28.0 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ URL: http://www.dechifro.org/dcraw/ Source0: http://www.dechifro.org/dcraw/archive/dcraw-%{version}.tar.gz @@ -24,7 +24,7 @@ downloaded from digital cameras. %autosetup -n dcraw %build -gcc %optflags $RPM_LD_FLAGS \ +%{__cc} %optflags $RPM_LD_FLAGS \ -Wl,--no-as-needed \ -lm -ljpeg -llcms2 -ljasper \ -DLOCALEDIR="\"%{_datadir}/locale\"" \ @@ -68,6 +68,9 @@ done %{_mandir}/man1/* %changelog +* Tue Jan 14 2020 Tom Stellard - 9.28.0-7 +- Use __cc macro instead of hard-coding gcc + * Wed Jul 24 2019 Fedora Release Engineering - 9.28.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild