Fix partial build flags injection (bug #1573111).

This commit is contained in:
Tim Waugh 2018-05-09 11:41:58 +01:00
parent 0c207e5480
commit 59021c42c4
No known key found for this signature in database
GPG Key ID: B7C20D079491EA63

View File

@ -2,7 +2,7 @@ Summary: A utility which maintains a system's symbolic links
Name: symlinks
URL: ftp://metalab.unc.edu/pub/Linux/utils/file/
Version: 1.4
Release: 17%{?dist}
Release: 18%{?dist}
Group: Applications/System
License: Copyright only
Source0: http://ibiblio.org/pub/Linux/utils/file/%{name}-%{version}.tar.gz
@ -31,7 +31,7 @@ cp %{SOURCE1} .
%patch2 -p1 -b .coverity-overrun-dynamic
%build
make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %{?_smp_mflags}
make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) %{build_ldflags}" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@ -47,6 +47,9 @@ install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8
%{_mandir}/man8/symlinks.8*
%changelog
* Wed May 09 2018 Tim Waugh <twaugh@redhat.com> - 1.4-18
- Fix partial build flags injection (bug #1573111).
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild