Use __cc macro instead of hard-coding gcc

This commit is contained in:
Tom Stellard 2020-01-14 01:19:46 +00:00
parent 821ad71435
commit 470c76028f

View File

@ -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 <tstellar@redhat.com> - 9.28.0-7
- Use __cc macro instead of hard-coding gcc
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.28.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild