Fix inheritance of buildflags
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
parent
f0911b96d6
commit
f0394065aa
10
efivar.spec
10
efivar.spec
@ -1,6 +1,6 @@
|
|||||||
Name: efivar
|
Name: efivar
|
||||||
Version: 38
|
Version: 38
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Tools to manage UEFI variables
|
Summary: Tools to manage UEFI variables
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
URL: https://github.com/rhboot/efivar
|
URL: https://github.com/rhboot/efivar
|
||||||
@ -55,12 +55,12 @@ git config --unset user.name
|
|||||||
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
|
||||||
@ -71,7 +71,6 @@ make abicheck
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/efivar
|
%{_bindir}/efivar
|
||||||
%{_bindir}/efisecdb
|
%{_bindir}/efisecdb
|
||||||
%exclude %{_bindir}/efivar-static
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -84,6 +83,9 @@ make abicheck
|
|||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 10 2023 Robbie Harwood <rharwood@redhat.com> - 38-6
|
||||||
|
- Fix inheritance of buildflags
|
||||||
|
|
||||||
* Thu Jul 28 2022 Robbie Harwood <rharwood@redhat.com> - 38-5
|
* Thu Jul 28 2022 Robbie Harwood <rharwood@redhat.com> - 38-5
|
||||||
- Fix build with glibc-2.36
|
- Fix build with glibc-2.36
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user