Use the standard pkg-config location
This commit is contained in:
parent
3005992167
commit
a31824338e
|
@ -4,7 +4,7 @@
|
|||
Name: gnu-efi
|
||||
Epoch: 1
|
||||
Version: 3.0.18
|
||||
Release: 1%{?dist}
|
||||
Release: %autorelease
|
||||
Summary: Development Libraries and headers for EFI
|
||||
License: BSD-2-Clause AND BSD-2-Clause-Patent AND BSD-3-Clause AND BSD-4-Clause AND GPL-2.0-or-later AND GPL-2.0-only
|
||||
URL: https://sourceforge.net/projects/gnu-efi/
|
||||
|
@ -78,6 +78,11 @@ make PREFIX=%{_prefix} LIBDIR=%{_prefix}/lib INSTALLROOT=%{buildroot} install
|
|||
mkdir -p %{buildroot}/%{efi_esp_dir}/%{efi_arch}
|
||||
mv %{buildroot}/usr/lib/gnuefi/apps/*.efi %{buildroot}%{efi_esp_dir}/%{efi_arch}/
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
|
||||
%endif
|
||||
|
||||
# delete useless file
|
||||
rm %{buildroot}/usr/lib/gnuefi/apps/debughook.efi.debug
|
||||
|
||||
|
@ -90,7 +95,7 @@ rm %{buildroot}/usr/lib/gnuefi/apps/debughook.efi.debug
|
|||
%{_includedir}/efi
|
||||
%{_prefix}/lib/libefi.a
|
||||
%{_prefix}/lib/libgnuefi.a
|
||||
%{_prefix}/lib/pkgconfig/gnu-efi.pc
|
||||
%{_libdir}/pkgconfig/gnu-efi.pc
|
||||
|
||||
%files utils
|
||||
%dir %attr(0700,root,root) %{efi_esp_dir}/%{efi_arch}/
|
||||
|
|
Loading…
Reference in New Issue