1
0
Ana Guerrero 2024-03-15 19:28:58 +00:00 committed by Git OBS Bridge
commit 1c59ef6555
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 14 10:14:55 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org>

View File

@ -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