2018-05-01 17:03:22 +00:00
|
|
|
Summary: Common RPM Macros for building EFI-related packages
|
|
|
|
Name: efi-rpm-macros
|
2021-04-06 18:01:13 +00:00
|
|
|
Version: 5
|
2023-06-09 13:04:28 +00:00
|
|
|
Release: 8%{?dist}
|
2018-05-01 17:03:22 +00:00
|
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/rhboot/%{name}/
|
|
|
|
BuildRequires: git sed
|
2020-12-17 04:57:34 +00:00
|
|
|
BuildRequires: make
|
2018-05-01 17:03:22 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2021-04-06 18:01:13 +00:00
|
|
|
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-5.tar.bz2
|
2018-05-01 17:03:22 +00:00
|
|
|
|
2021-09-02 18:49:22 +00:00
|
|
|
Patch0001: 0001-Don-t-have-arm-as-an-alt-arch-of-aarch64.patch
|
2023-06-09 13:04:28 +00:00
|
|
|
Patch0002: 0002-Makefile-fix-permission-on-boot-efi-EFI.patch
|
2021-09-02 18:49:22 +00:00
|
|
|
|
2018-05-01 17:03:22 +00:00
|
|
|
%global debug_package %{nil}
|
2018-07-11 20:18:36 +00:00
|
|
|
%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/^ID=//p' /etc/os-release))
|
2018-05-01 17:03:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} provides a set of RPM macros for use in EFI-related packages.
|
|
|
|
|
2018-05-01 19:46:16 +00:00
|
|
|
%package -n efi-srpm-macros
|
|
|
|
Summary: Common SRPM Macros for building EFI-related packages
|
|
|
|
BuildArch: noarch
|
2018-05-04 17:53:51 +00:00
|
|
|
Requires: rpm
|
2018-05-01 19:46:16 +00:00
|
|
|
|
|
|
|
%description -n efi-srpm-macros
|
|
|
|
efi-srpm-macros provides a set of SRPM macros for use in EFI-related packages.
|
|
|
|
|
2018-05-02 14:50:44 +00:00
|
|
|
%package -n efi-filesystem
|
|
|
|
Summary: The basic directory layout for EFI machines
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: filesystem
|
|
|
|
|
|
|
|
%description -n efi-filesystem
|
|
|
|
The efi-filesystem package contains the basic directory layout for EFI
|
|
|
|
machine bootloaders and tools.
|
|
|
|
|
2018-05-01 17:03:22 +00:00
|
|
|
%prep
|
2021-04-06 18:01:13 +00:00
|
|
|
%autosetup -S git_am -n %{name}-5
|
2018-09-26 18:15:43 +00:00
|
|
|
git config --local --add efi.vendor "%{_efi_vendor_}"
|
|
|
|
git config --local --add efi.esp-root /boot/efi
|
|
|
|
git config --local --add efi.arches "x86_64 aarch64 %{arm} %{ix86}"
|
2018-05-01 17:03:22 +00:00
|
|
|
|
|
|
|
%build
|
2018-09-26 18:15:43 +00:00
|
|
|
%make_build clean all
|
2018-05-01 17:03:22 +00:00
|
|
|
|
|
|
|
%install
|
2018-09-26 18:15:43 +00:00
|
|
|
%make_install
|
2018-05-01 17:03:22 +00:00
|
|
|
|
2018-05-03 15:38:52 +00:00
|
|
|
#%%files
|
|
|
|
#%%{!?_licensedir:%%global license %%%%doc}
|
|
|
|
#%%license LICENSE
|
|
|
|
#%%doc README
|
|
|
|
#%%{_rpmmacrodir}/macros.efi
|
2018-05-01 19:46:16 +00:00
|
|
|
|
|
|
|
%files -n efi-srpm-macros
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README
|
|
|
|
%{_rpmmacrodir}/macros.efi-srpm
|
2018-09-26 18:15:43 +00:00
|
|
|
%{_rpmconfigdir}/brp-boot-efi-times
|
2018-05-01 17:03:22 +00:00
|
|
|
|
2018-05-02 14:50:44 +00:00
|
|
|
%files -n efi-filesystem
|
|
|
|
%defattr(0700,root,root,-)
|
2018-05-02 15:27:31 +00:00
|
|
|
%dir /boot/efi
|
|
|
|
%dir /boot/efi/EFI
|
|
|
|
%dir /boot/efi/EFI/BOOT
|
|
|
|
%dir /boot/efi/EFI/%{_efi_vendor_}
|
2018-05-02 14:50:44 +00:00
|
|
|
|
2018-05-01 17:03:22 +00:00
|
|
|
%changelog
|
2023-06-09 13:04:28 +00:00
|
|
|
* Fri Jun 09 2023 Sandro Bonazzola <sbonazzo@redhat.com> - 5-8
|
|
|
|
- Fixes permissions on /boot/efi/EFI
|
|
|
|
- Resolves: rhbz#2144459
|
|
|
|
|
2023-01-19 02:08:07 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 01:40:15 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 01:39:46 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-09-02 18:49:22 +00:00
|
|
|
* Thu Sep 02 2021 Robbie Harwood <rharwood@redhat.com> - 5-4
|
|
|
|
- Remove arm as an alt for aarch64 (would require cross compiler)
|
|
|
|
|
2021-07-21 21:41:55 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-06 19:02:40 +00:00
|
|
|
* Tue Apr 06 2021 Peter Jones <pjones@redhat.com> - 5-2
|
|
|
|
- There's always a typo.
|
|
|
|
|
2021-04-06 18:01:13 +00:00
|
|
|
* Tue Apr 06 2021 Peter Jones <pjones@redhat.com> - 5-1
|
|
|
|
- Add arm as an alt for aarch64
|
|
|
|
|
2021-01-26 04:20:47 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 16:19:48 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 17:01:15 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 23:13:27 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 18:23:35 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-09-26 18:15:43 +00:00
|
|
|
* Wed Sep 26 2018 Peter Jones <pjones@redhat.com> - 4-1
|
|
|
|
- Provide %%{efi_build_requires} and brp-boot-efi-times
|
|
|
|
|
2018-07-12 23:41:42 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-04 19:06:21 +00:00
|
|
|
* Fri May 04 2018 Peter Jones <pjones@redhat.com> - 3-2
|
|
|
|
- Always provide macros for efi_arch and efi_alt_arch (and their _upper
|
|
|
|
variants), and make efi_has_arch and efi_has_alt_arch 0 when they will be
|
|
|
|
wrong. This ensures everything can always expand when we're on a non-efi
|
|
|
|
architecture.
|
|
|
|
|
2018-05-04 17:53:51 +00:00
|
|
|
* Fri May 04 2018 Peter Jones <pjones@redhat.com> - 3-1
|
|
|
|
- Update to version 3 to try and un-break rawhide composes due to
|
|
|
|
ExclusiveArch constraints.
|
|
|
|
|
2018-05-03 15:38:52 +00:00
|
|
|
* Thu May 03 2018 Peter Jones <pjones@redhat.com> - 2-6
|
|
|
|
- Rework the macros for better srpm use.
|
|
|
|
|
2018-05-02 14:50:44 +00:00
|
|
|
* Wed May 02 2018 Peter Jones <pjones@redhat.com> - 2-5
|
|
|
|
- Add efi-filesystem subpackage
|
|
|
|
|
2018-05-02 14:12:47 +00:00
|
|
|
* Wed May 02 2018 Peter Jones <pjones@redhat.com> - 2-4
|
|
|
|
- Add %%{efi_has_alt_arch}
|
|
|
|
|
2018-05-01 19:46:16 +00:00
|
|
|
* Tue May 01 2018 Peter Jones <pjones@redhat.com> - 2-3
|
|
|
|
- Make an efi-srpm-macros subpackage to pull in so %%{efi} works in
|
|
|
|
ExclusiveArch in koji.
|
|
|
|
|
2018-05-01 18:49:43 +00:00
|
|
|
* Tue May 01 2018 Peter Jones <pjones@redhat.com> - 2-2
|
|
|
|
- Fix the non-efi and non-efi-alt-arch cases, hopefully.
|
2018-09-26 18:15:43 +00:00
|
|
|
- Make efi-*-macros packages not be ExclusiveArch, because they need to work
|
|
|
|
in non-efi-arch packages.
|
2018-05-01 18:49:43 +00:00
|
|
|
|
2018-05-01 17:03:22 +00:00
|
|
|
* Tue May 01 2018 Peter Jones <pjones@redhat.com> - 2-1
|
|
|
|
- Lots of rpmlint fixups and the like.
|
|
|
|
|
|
|
|
* Mon Apr 30 2018 Peter Jones <pjones@redhat.com> - 1-1
|
|
|
|
- First shot at building it.
|