public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Luca Boccassi <luca.boccassi@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Define __isa_bits for OBS builds
Date: Fri, 27 Nov 2026 17:01:01 GMT [thread overview]
Message-ID: <179579886123.1.9689284003628888833.rpms-systemd-8254ed04f458@fedoraproject.org> (raw)
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)
reply other threads:[~2026-11-27 17:01 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=179579886123.1.9689284003628888833.rpms-systemd-8254ed04f458@fedoraproject.org \
--to=luca.boccassi@gmail.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