public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Define __isa_bits for OBS builds
@ 2026-11-27 17:01 Luca Boccassi
  0 siblings, 0 replies; only message in thread
From: Luca Boccassi @ 2026-11-27 17:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : rawhide
            Commit : 8254ed04f458ef1c5dd723fdc8ab002c773af31b
            Author : Luca Boccassi <luca.boccassi@gmail.com>
            Date   : 2026-11-27T14:39:12+00:00
            Stats  : +11/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/8254ed04f458ef1c5dd723fdc8ab002c773af31b?branch=rawhide

            Log:
            Define __isa_bits for OBS builds

SUSE does not use __isa_bits, so OBS does not define it, add it manually

[skip changelog]

---
diff --git a/systemd.spec b/systemd.spec
index 2137fba..2730917 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -7,6 +7,17 @@
 %global system_unit_dir %{pkgdir}/system
 %global user_unit_dir %{pkgdir}/user
 
+# Build from git main
+%bcond upstream  0
+
+# Build with OBS-specific quirks
+%bcond obs       0
+
+# SUSE does not define __isa_bits, and we only support 64bit architectures in OBS
+%if %{with obs}
+%{!?__isa_bits: %global __isa_bits 64}
+%endif
+
 %bcond bzip2     1
 %bcond gnutls    1
 %bcond rust      %[ 0%{?__isa_bits} == 64 ]     # disabled on i686
@@ -35,12 +46,6 @@
 # Build docs on 64-bit architectures only
 %bcond docs      %[%{?__isa_bits} >= 64]
 
-# Build from git main
-%bcond upstream  0
-
-# Build with OBS-specific quirks
-%bcond obs       0
-
 # When bootstrap, libcryptsetup is disabled
 # but auto-features causes many options to be turned on
 # that depend on libcryptsetup (e.g. libcryptsetup-plugins, homed)

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

only message in thread, other threads:[~2026-11-27 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 17:01 [rpms/systemd] rawhide: Define __isa_bits for OBS builds Luca Boccassi

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