From e2420a892dcb3a257c50394da25bc8e97c014963 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 23 Feb 2018 13:01:27 +0100 Subject: [PATCH] Use LDFLAGS from redhat-rpm-config --- dcraw.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dcraw.spec b/dcraw.spec index c937588..b4e9333 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.27.0 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ URL: http://cybercom.net/~dcoffin/dcraw Source0: http://cybercom.net/~dcoffin/dcraw/archive/dcraw-%{version}.tar.gz @@ -21,7 +21,7 @@ downloaded from digital cameras. %autosetup -n dcraw %build -gcc %optflags \ +gcc %optflags $RPM_LD_FLAGS \ -lm -ljpeg -llcms2 -ljasper \ -DLOCALEDIR="\"%{_datadir}/locale\"" \ -o dcraw dcraw.c @@ -64,6 +64,9 @@ done %{_mandir}/man1/* %changelog +* Fri Feb 23 2018 Florian Weimer - 9.27.0-8 +- Use LDFLAGS from redhat-rpm-config + * Tue Feb 20 2018 Nils Philippsen - 9.27.0-7 - require gcc for building