SHA256
1
0
forked from pool/systemd

- systemd.spec: don't use build conditionals (%bcond_with/%bcond_without) with

the mini flavor to make sure that all the features remain disabled for this
  flavor regardless of what is enabled in the prjconf.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1432
This commit is contained in:
Franck Bui 2023-08-24 10:50:22 +00:00 committed by Git OBS Bridge
parent c702f266c0
commit e23c2b5f22
2 changed files with 13 additions and 17 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 24 10:42:20 UTC 2023 - Franck Bui <fbui@suse.com>
- systemd.spec: don't use build conditionals (%bcond_with/%bcond_without) with
the mini flavor to make sure that all the features remain disabled for this
flavor regardless of what is enabled in the prjconf.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 18 13:19:39 UTC 2023 - Franck Bui <fbui@suse.com> Fri Aug 18 13:19:39 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -35,23 +35,10 @@
%define when_not() %{expand:%%__when_not_%# %{*}} %define when_not() %{expand:%%__when_not_%# %{*}}
%if "%{flavor}" == "mini" %if "%{flavor}" == "mini"
%define mini -mini %global mini -mini
%bcond_without bootstrap %global with_bootstrap 1
%bcond_with coredump
%bcond_with homed
%bcond_with importd
%bcond_with journal_remote
%bcond_with machined
%bcond_with networkd
%bcond_with portabled
%bcond_with resolved
%bcond_with sd_boot
%bcond_with sysvcompat
%bcond_with experimental
%bcond_with testsuite
%else %else
%define mini %nil %global mini %nil
%bcond_with bootstrap
%bcond_without coredump %bcond_without coredump
%bcond_without homed %bcond_without homed
%bcond_without importd %bcond_without importd
@ -69,7 +56,9 @@
%bcond_without experimental %bcond_without experimental
%bcond_without testsuite %bcond_without testsuite
%endif %endif
# Kept to ease migrations toward SLE
# The following features are kept to ease migrations toward SLE. Their default
# value is independent of the build flavor.
%bcond_without filetriggers %bcond_without filetriggers
%bcond_with split_usr %bcond_with split_usr