From 5c1dfeba7a5cb920ea3dc13970f62410fe286116c8d3c88eb6ac41d7740c6685 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 3 Feb 2020 15:23:39 +0000 Subject: [PATCH] Accepting request 769669 from home:lnussel:branches:Base:System another attempt to get past factory-auto OBS-URL: https://build.opensuse.org/request/show/769669 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=302 --- coreutils.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/coreutils.spec b/coreutils.spec index 6195358..2b93e66 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -18,16 +18,19 @@ %bcond_with ringdisabled -%global build_flavor @BUILD_FLAVOR@%{nil} -%if "%build_flavor" == "" -%undefine build_flavor +# there are more fancy ways to define a package name using magic +# macros but OBS and the bots that rely on parser information from +# OBS can't deal with all of them +%if "@BUILD_FLAVOR@" == "" +%define name coreutils %else +%define name coreutils-@BUILD_FLAVOR@ %if %{with ringdisabled} ExclusiveArch: do_not_build %endif %endif -Name: coreutils%{?build_flavor:-%build_flavor} +Name: %name Summary: GNU Core Utilities License: GPL-3.0-or-later Group: System/Base