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
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user