public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/SLOF] rawhide: Adjust conditionals for RHEL build
Date: Wed, 25 Nov 2026 04:43:21 GMT	[thread overview]
Message-ID: <179558180192.1.11594923377905381184.rpms-SLOF-4d313fd86363@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/SLOF
            Branch : rawhide
            Commit : 4d313fd86363bd66e5548d21d45f2585014bb3c8
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-11-24T23:42:31-05:00
            Stats  : +15/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/SLOF/c/4d313fd86363bd66e5548d21d45f2585014bb3c8?branch=rawhide

            Log:
            Adjust conditionals for RHEL build

SLOF is going back in to RHEL, so the previously removed conditionals need
to be restored.

This reverts commit 798c20030ad09f87ef041f2a0f41e3aee610a957.

---
diff --git a/SLOF.spec b/SLOF.spec
index bde6432..9866df8 100644
--- a/SLOF.spec
+++ b/SLOF.spec
@@ -6,12 +6,16 @@
 # Disable debuginfo because it is of no use to us.
 %global debug_package %{nil}
 
+%if 0%{?fedora:1} || 0%{?epel:1}
 %define cross 1
 %define targetdir qemu
+%else
+%define targetdir qemu-kvm
+%endif
 
 Name:           SLOF
 Version:        %{gittagdate}
-Release:        11.git%{gittagcommit}%{?dist}
+Release:        12.git%{gittagcommit}%{?dist}
 Summary:        Slimline Open Firmware
 
 License:        BSD-3-Clause
@@ -61,6 +65,13 @@ export CROSS="powerpc64-linux-gnu-"
 export CROSS=""
 %endif
 
+%if 0%{?rhel:1}
+# Workaround for problems on the TPS machines.  They have a
+# environment variable called "RELEASE" which somehow confuses the
+# SLOF Makefiles which also use a variable named RELEASE.
+unset RELEASE
+%endif
+
 %make_build qemu V=2
 
 %install
@@ -76,6 +87,9 @@ install -c -m 0644 boot_rom.bin %{buildroot}%{_datadir}/%{targetdir}/slof.bin
 
 
 %changelog
+* Wed Nov 25 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 20220719-12.git6b6c16b4
+- Adjust conditionals for RHEL build
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 20220719-11.git6b6c16b4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-11-25  4:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179558180192.1.11594923377905381184.rpms-SLOF-4d313fd86363@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox