Fix inheritance of buildflags

This commit is contained in:
Robbie Harwood 2023-01-11 16:32:40 +00:00 committed by Stepan Oksanichenko
parent 70f8969de8
commit 854ff3a329
2 changed files with 8 additions and 3 deletions

1
.efivar.metadata Normal file
View File

@ -0,0 +1 @@
64dc75cf71b7a989b8b4ac5cd46d1010430e89dc efivar-38.tar.bz2

View File

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