Add ring0 config

This commit is contained in:
Ludwig Nussel 2022-10-24 14:10:16 +02:00
parent fc4d506343
commit 5dfd31e8ce

120
_config Normal file
View File

@ -0,0 +1,120 @@
Support: !brp-trim-desktopfiles
# Multibuild/Ring split logic
%if "%_project" == "openSUSE:Factory:Rings:0-Bootstrap" || "%_project" == "openSUSE:Factory:ARM:Rings:0-Bootstrap"
BuildFlags: excludebuild:meson:test
BuildFlags: excludebuild:pam:full
BuildFlags: excludebuild:python310
BuildFlags: excludebuild:python310:doc
BuildFlags: excludebuild:automake:testsuite
BuildFlags: excludebuild:mpdecimal:test
BuildFlags: excludebuild:libseccomp:python3
BuildFlags: excludebuild:gcc12:cross-amdgcn-gcc12
BuildFlags: excludebuild:gcc12:cross-arm-none-gcc12
BuildFlags: excludebuild:gcc12:cross-avr-gcc12
BuildFlags: excludebuild:gcc12:cross-epiphany-gcc12
BuildFlags: excludebuild:gcc12:cross-nvptx-gcc12
BuildFlags: excludebuild:gcc12:cross-pru-gcc12
BuildFlags: excludebuild:gcc12:cross-riscv64-elf-gcc12
BuildFlags: excludebuild:gcc12:cross-rx-gcc12
BuildFlags: excludebuild:gcc12:gcc12-testresults
BuildFlags: excludebuild:python-packaging
BuildFlags: excludebuild:python-packaging:test
BuildFlags: excludebuild:python-pyparsing
BuildFlags: excludebuild:python-pyparsing:test
BuildFlags: excludebuild:python-flit-core
BuildFlags: excludebuild:python-flit-core:test
BuildFlags: excludebuild:e2fsprogs:fuse2fs
%else
BuildFlags: excludebuild:gtk3:doc
BuildFlags: excludebuild:jflex
BuildFlags: excludebuild:jupyter
BuildFlags: excludebuild:libseccomp
BuildFlags: excludebuild:meson
BuildFlags: excludebuild:pam
BuildFlags: excludebuild:python310:base
BuildFlags: excludebuild:e2fsprogs
# for now, Qt6 flavors are out of the question
BuildFlags: excludebuild:poppler:qt6
BuildFlags: excludebuild:qca:qt6
BuildFlags: excludebuild:qmlpluginexports:qt6
BuildFlags: excludebuild:qtdeclarative-imports-provides:qt6
BuildFlags: excludebuild:kdsoap:qt6
BuildFlags: excludebuild:PackageKit-Qt:qt6
# https://bugzilla.opensuse.org/show_bug.cgi?id=1167730
BuildFlags: excludebuild:python-pandas:test
BuildFlags: excludebuild:python-flit-core:primary
BuildFlags: excludebuild:python-packaging:primary
BuildFlags: excludebuild:python-pyparsing:primary
BuildFlags: excludebuild:python-notebook:test
# HPC seems to be a bit over the top
BuildFlags: excludebuild:metis:gnu-hpc
BuildFlags: excludebuild:gsl:gnu-hpc
# rbrown - 29 sept 2022 - excluding new unzip:unzip-rcc flavour to remove librcc/libguess/libmowgli2/librcd from ring1
BuildFlags: excludebuild:unzip:unzip-rcc
%ifarch %{ix86}
BuildFlags: excludebuild:qemu:testsuite
%endif
%endif
BuildFlags: excludebuild:coreutils:testsuite
BuildFlags: excludebuild:timezone:timezone-java
# Kubic is no longer needed in rings (no more media built)
BuildFlags: excludebuild:docker:kubic
%if "%_project" == "openSUSE:Factory:Rings:0-Bootstrap" || "%_project" == "openSUSE:Factory:ARM:Rings:0-Bootstrap"
Support: !rpmlint-mini
#Support: !build-mkbaselibs
#Support !rpmlint-Factory
%define _without_acl_tests 1
Macros:
%_without_acl_tests 1
:Macros
%endif
VMinstall: libcrypt1
%if "%_project" == "openSUSE:Factory:Rings:0-Bootstrap" || "%_project" == "openSUSE:Factory:ARM:Rings:0-Bootstrap"
Macros:
%_without_gnome 0
%_without_java 0
%_without_mono 0
%_without_ocaml 0
%_without_sbl 0
%_without_vnc 0
:Macros
%endif
Macros:
# Help us disabled some flavors in mutlibuild packages
%_with_ringdisabled 1
:Macros
# VMinstall: !kernel-obs-build
# Support: !rpmlint-mini !rpmlint-Factory
%ifarch s390x
# temporary for bootstrap
# VMinstall: !kernel-obs-build
%define disable_32bit 1
%define tuneflag zEC12
%define archflag zEC12
Macros:
%disable_32bit 1
%tuneflag zEC12
%archflag zEC12
:Macros
Substitute: glibc-devel-32bit
Substitute: glibc-devel-static-32bit
Substitute: gcc-32bit
Substitute: gcc5-32bit
Substitute: gcc-ada-32bit
Substitute: gcc5-c++-32bit
Substitute: gcc-c++-32bit
Substitute: libunwind-devel
Substitute: pkgconfig(libunwind)
%endif