Use set_build_flags macro

This commit is contained in:
Juan Orti Alcaine 2020-08-06 18:02:59 +02:00
parent 6af487bad1
commit 0da72e3ba1

View File

@ -1,6 +1,6 @@
Name: compsize
Version: 1.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Utility for measuring compression ratio of files on btrfs
License: GPLv2+
URL: https://github.com/kilobyte/compsize
@ -17,9 +17,7 @@ a report.
%autosetup
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
%set_build_flags
%make_build
%install
@ -33,6 +31,9 @@ install -D -m 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
%{_mandir}/man8/%{name}.8*
%changelog
* Thu Aug 06 2020 Juan Orti Alcaine <jortialc@redhat.com> - 1.3-4
- Use set_build_flags macro
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild