Fix inheritance of buildflags

Resolves: #2144520
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
Robbie Harwood 2023-01-11 16:32:40 +00:00
parent 70f8969de8
commit c6e7e05039

View File

@ -1,6 +1,6 @@
Name: efivar
Version: 38
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Tools to manage UEFI variables
License: LGPLv2
URL: https://github.com/rhboot/efivar
@ -59,12 +59,12 @@ done
make LIBDIR=%{_libdir} BINDIR=%{_bindir} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%install
%makeinstall
%makeinstall CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
install -m 0644 src/abignore %{buildroot}%{_includedir}/efivar/.abignore
%check
%ifarch x86_64
make abicheck
make abicheck CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%endif
%ldconfig_scriptlets libs
@ -88,6 +88,10 @@ make abicheck
%{_libdir}/*.so.*
%changelog
* Wed Jan 11 2023 Robbie Harwood <rharwood@redhat.com> - 38-3
- Fix inheritance of buildflags
- Resolves: #2144520
* Wed Feb 02 2022 Robbie Harwood <rharwood@redhat.com> - 38-2
- Bump to re-run tests; no code changes
- Resolves: #2024374