diff --git a/NetworkManager-branding.changes b/NetworkManager-branding.changes index 07cfe8a..bdced85 100644 --- a/NetworkManager-branding.changes +++ b/NetworkManager-branding.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 14 10:14:55 UTC 2024 - Dominique Leuenberger + +- Ensure flavor has a value, at least %nil. +- ExclusiveArch: %nil is invalid: give it a value (do-not-build). + ------------------------------------------------------------------- Fri Dec 1 16:41:17 UTC 2023 - Dominique Leuenberger diff --git a/NetworkManager-branding.spec b/NetworkManager-branding.spec index af1b70c..293da21 100644 --- a/NetworkManager-branding.spec +++ b/NetworkManager-branding.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package NetworkManager-branding # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%define flavor @BUILD_FLAVOR@ +%define flavor @BUILD_FLAVOR@%nil %if "%{flavor}" == "" %define branding_name %{nil} ExclusiveArch: %{nil} @@ -47,7 +47,7 @@ Provides: NetworkManager-branding = %{version} BuildArch: noarch %if (0%{?build_SLE} && 0%{?is_opensuse}) || (0%{?build_openSUSE} && ! 0%{?is_opensuse}) # Don't build SLE branding on openSUSE and vice-versa -ExclusiveArch: %{nil} +ExclusiveArch: do-not-build %endif %description