public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/efi-rpm-macros] rawhide: Fix efi vendor on ELN
@ 2026-06-30  0:15 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-30  0:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/efi-rpm-macros
            Branch : rawhide
            Commit : 509fcdd64aed0280b08f19e7566f96e8e1e7ff21
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-29T20:09:35-04:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/efi-rpm-macros/c/509fcdd64aed0280b08f19e7566f96e8e1e7ff21?branch=rawhide

            Log:
            Fix efi vendor on ELN

After changing ELN's os-release to be more RHEL-like, this adjustment is
necessary to avoid breaking assumptions defined elsewhere.

https://github.com/fedora-eln/eln/issues/469

---
diff --git a/efi-rpm-macros.spec b/efi-rpm-macros.spec
index 852fa09..c14fbcd 100644
--- a/efi-rpm-macros.spec
+++ b/efi-rpm-macros.spec
@@ -1,7 +1,7 @@
 Summary: Common RPM Macros for building EFI-related packages
 Name: efi-rpm-macros
 Version: 6
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPL-3.0-or-later
 URL: https://github.com/rhboot/%{name}/
 BuildRequires: git sed
@@ -15,7 +15,7 @@ Patch0001: 0001-add-riscv64-support.patch
 Patch0002: 0002-Re-enable-ia32-as-an-alt-for-x86_64.patch
 
 %global debug_package %{nil}
-%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/^ID=//p' /etc/os-release))
+%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/eln/fedora/' -e 's/^ID=//p' /etc/os-release))
 
 %description
 %{name} provides a set of RPM macros for use in EFI-related packages.
@@ -70,6 +70,9 @@ git config --local --add efi.arches "x86_64 aarch64 %{arm} %{ix86} riscv64"
 %dir /boot/efi/EFI/%{_efi_vendor_}
 
 %changelog
+* Tue Jun 30 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 6-7
+- Fix efi vendor on ELN
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30  0:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30  0:15 [rpms/efi-rpm-macros] rawhide: Fix efi vendor on ELN Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox