Use LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-02-25 12:36:32 +01:00
parent a3b87169fa
commit 623f7a4a86

View File

@ -1,7 +1,7 @@
Summary: Utilities for performing block layer IO tracing in the Linux kernel
Name: blktrace
Version: 1.2.0
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
Group: Development/System
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
@ -23,7 +23,7 @@ information about IO patterns.
%setup -q
%build
make CFLAGS="%{optflags}" all
make CFLAGS="%{optflags} %{build_ldflags}" all
%install
rm -rf %{buildroot}
@ -71,6 +71,9 @@ information about IO patterns.
%{_mandir}/man1/iowatcher.*
%changelog
* Sun Feb 25 2018 Florian Weimer <fweimer@redhat.com> - 1.2.0-4
- Use LDFLAGS from redhat-rpm-config
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild