Use LDFLAGS from redhat-rpm-config
This commit is contained in:
parent
04ee9853ed
commit
e2420a892d
@ -1,7 +1,7 @@
|
|||||||
Summary: Tool for decoding raw image data from digital cameras
|
Summary: Tool for decoding raw image data from digital cameras
|
||||||
Name: dcraw
|
Name: dcraw
|
||||||
Version: 9.27.0
|
Version: 9.27.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cybercom.net/~dcoffin/dcraw
|
URL: http://cybercom.net/~dcoffin/dcraw
|
||||||
Source0: http://cybercom.net/~dcoffin/dcraw/archive/dcraw-%{version}.tar.gz
|
Source0: http://cybercom.net/~dcoffin/dcraw/archive/dcraw-%{version}.tar.gz
|
||||||
@ -21,7 +21,7 @@ downloaded from digital cameras.
|
|||||||
%autosetup -n dcraw
|
%autosetup -n dcraw
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gcc %optflags \
|
gcc %optflags $RPM_LD_FLAGS \
|
||||||
-lm -ljpeg -llcms2 -ljasper \
|
-lm -ljpeg -llcms2 -ljasper \
|
||||||
-DLOCALEDIR="\"%{_datadir}/locale\"" \
|
-DLOCALEDIR="\"%{_datadir}/locale\"" \
|
||||||
-o dcraw dcraw.c
|
-o dcraw dcraw.c
|
||||||
@ -64,6 +64,9 @@ done
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 9.27.0-8
|
||||||
|
- Use LDFLAGS from redhat-rpm-config
|
||||||
|
|
||||||
* Tue Feb 20 2018 Nils Philippsen <nils@tiptoe.de> - 9.27.0-7
|
* Tue Feb 20 2018 Nils Philippsen <nils@tiptoe.de> - 9.27.0-7
|
||||||
- require gcc for building
|
- require gcc for building
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user