forked from pool/coreutils
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
This commit is contained in:
parent
8134b7b868
commit
5c1dfeba7a
@ -18,16 +18,19 @@
|
|||||||
|
|
||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
|
|
||||||
%global build_flavor @BUILD_FLAVOR@%{nil}
|
# there are more fancy ways to define a package name using magic
|
||||||
%if "%build_flavor" == ""
|
# macros but OBS and the bots that rely on parser information from
|
||||||
%undefine build_flavor
|
# OBS can't deal with all of them
|
||||||
|
%if "@BUILD_FLAVOR@" == ""
|
||||||
|
%define name coreutils
|
||||||
%else
|
%else
|
||||||
|
%define name coreutils-@BUILD_FLAVOR@
|
||||||
%if %{with ringdisabled}
|
%if %{with ringdisabled}
|
||||||
ExclusiveArch: do_not_build
|
ExclusiveArch: do_not_build
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: coreutils%{?build_flavor:-%build_flavor}
|
Name: %name
|
||||||
Summary: GNU Core Utilities
|
Summary: GNU Core Utilities
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
Loading…
Reference in New Issue
Block a user