213 lines
8.1 KiB
Plaintext
213 lines
8.1 KiB
Plaintext
Patterntype: rpm-md
|
|
|
|
%if "%_repository" == "images" || "%_repository" == "containerkiwi"
|
|
Type: kiwi
|
|
Repotype: slepool:nobuildid
|
|
Patterntype: none
|
|
Support: baseiso-containment
|
|
Support: suse-migration-rpm
|
|
Prefer: plymouth-branding-SLE
|
|
|
|
# Ensure xxd gets installed - required by the agama s390x fix_bootconfig
|
|
# script (gh#agama-project/agama#1969)
|
|
Substitute: kiwi-image:iso kiwi-systemdeps-iso-media qemu-tools xxd
|
|
|
|
ExportFilter: ^tftpboot-agama-installer-SUSE_SLE_16-aarch64.*\.rpm$ . ppc64le s390x x86_64
|
|
ExportFilter: ^tftpboot-agama-installer-SUSE_SLE_16-ppc64le.*\.rpm$ . aarch64 s390x x86_64
|
|
ExportFilter: ^tftpboot-agama-installer-SUSE_SLE_16-s390x.*\.rpm$ . aarch64 ppc64le x86_64
|
|
ExportFilter: ^tftpboot-agama-installer-SUSE_SLE_16-x86_64.*\.rpm$ . aarch64 ppc64le s390x
|
|
|
|
Macros:
|
|
%source_date_epoch_from_changelog N
|
|
:Macros
|
|
%endif
|
|
|
|
%define current_milestone GMC
|
|
%define beta_flag 0
|
|
Macros:
|
|
%current_milestone GMC
|
|
%beta_flag 0
|
|
:Macros
|
|
|
|
# define a prefix for all package builds in SLES to handle migration of packages
|
|
# with identical version but lower release version than in a preceding codestream
|
|
Release: <CI_CNT>.<B_CNT> spec:160000.<CI_CNT>.<B_CNT>
|
|
|
|
# We test build only a subset in SUSE:SLFO:1.X:PullRequest:SLES
|
|
%if 0%{?is_code_stream_stage_project}
|
|
%if 0%{?_is_in_project}
|
|
BuildFlags: onlybuild:000productcompose:bci_aarch64
|
|
BuildFlags: onlybuild:000productcompose:bci_ppc64le
|
|
BuildFlags: onlybuild:000productcompose:bci_s390x
|
|
BuildFlags: onlybuild:000productcompose:bci_x86_64
|
|
BuildFlags: onlybuild:000productcompose:sles_aarch64
|
|
BuildFlags: onlybuild:000productcompose:sles_ha_ppc64le
|
|
BuildFlags: onlybuild:000productcompose:sles_ha_s390x
|
|
BuildFlags: onlybuild:000productcompose:sles_ha_x86_64
|
|
BuildFlags: onlybuild:000productcompose:sles_ppc64le
|
|
BuildFlags: onlybuild:000productcompose:sles_s390x
|
|
BuildFlags: onlybuild:000productcompose:sles_sap_ppc64le
|
|
BuildFlags: onlybuild:000productcompose:sles_sap_x86_64
|
|
BuildFlags: onlybuild:000productcompose:sles_x86_64
|
|
%endif
|
|
# avoid staging rebuilds on releases of the public cloud containers
|
|
Support: az-sdk-image az-cli-image aws-sdk-image aws-cli-image google-sdk-image
|
|
%endif
|
|
|
|
%if "%_repository" == "containerfile"
|
|
# Note: we could point to "containerfile" repo of code stream project instead
|
|
# but we duplicate some parts of repo type config here atm
|
|
Type: docker
|
|
BuildEngine: podman
|
|
Macros:
|
|
%img_repo registry.suse.com
|
|
%slmicro_version 6.1
|
|
:Macros
|
|
|
|
Repotype: staticlinks
|
|
%endif
|
|
|
|
BuildFlags: excludebuild:000package-groups
|
|
|
|
%if "%_repository" == "product"
|
|
Repotype: slepool:nobuildid
|
|
Patterntype: none
|
|
|
|
Type: productcompose
|
|
Required: product-composer
|
|
Required: package-translations
|
|
|
|
Ignore: dummy-release:this-is-only-for-build-envs
|
|
Ignore: libsystemd0-mini:this-is-only-for-build-envs
|
|
Ignore: krb5-mini:this-is-only-for-build-envs
|
|
|
|
%if 0%{?_is_in_project}
|
|
# Maintenance: do not build ISO images for 000productcompose
|
|
BuildFlags: excludebuild:000productcompose:sles_offline_aarch64
|
|
BuildFlags: excludebuild:000productcompose:sles_offline_ppc64le
|
|
BuildFlags: excludebuild:000productcompose:sles_offline_s390x
|
|
BuildFlags: excludebuild:000productcompose:sles_offline_x86_64
|
|
BuildFlags: excludebuild:000productcompose:sles_iso_aarch64
|
|
BuildFlags: excludebuild:000productcompose:sles_iso_ppc64le
|
|
BuildFlags: excludebuild:000productcompose:sles_iso_s390x
|
|
BuildFlags: excludebuild:000productcompose:sles_iso_x86_64
|
|
BuildFlags: excludebuild:000productcompose:sles_ha_iso_aarch64
|
|
BuildFlags: excludebuild:000productcompose:sles_ha_iso_ppc64le
|
|
BuildFlags: excludebuild:000productcompose:sles_ha_iso_s390x
|
|
BuildFlags: excludebuild:000productcompose:sles_ha_iso_x86_64
|
|
|
|
# Maintenance: do not build trees for the QU variants
|
|
BuildFlags: excludebuild:000productcompose-qu:bci_aarch64
|
|
BuildFlags: excludebuild:000productcompose-qu:bci_ppc64le
|
|
BuildFlags: excludebuild:000productcompose-qu:bci_s390x
|
|
BuildFlags: excludebuild:000productcompose-qu:bci_x86_64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_aarch64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_ppc64le
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_s390x
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_x86_64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_sap_ppc64le
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_sap_x86_64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_ha_ppc64le
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_ha_s390x
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_ha_x86_64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_installer_aarch64
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_installer_ppc64le
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_installer_s390x
|
|
BuildFlags: excludebuild:000productcompose-qu:sles_installer_x86_64
|
|
%endif
|
|
|
|
%if "%_repository" == "containerkiwi"
|
|
# these kiwi based images must be built only on images repository
|
|
BuildFlags: excludebuild:agama-installer-SLES:SUSE_SLE_16
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:kvm-and-xen
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:kvm
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:VMware
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:MS-HyperV
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:Cloud
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:RaspberryPi
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-kvm
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-Cloud
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-dasd
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-dasd-Cloud
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-fba
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:s390x-fba-Cloud
|
|
%endif
|
|
|
|
%if "%_repository" == "containerkiwi" || "%_repository" == "images"
|
|
# Disable encrypted images
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:kvm-and-xen-encrypt
|
|
BuildFlags: excludebuild:kiwi-templates-Minimal:kvm-encrypt
|
|
%endif
|
|
%endif
|
|
|
|
%if "%_repository" == "containerkiwi" || "%_repository" == "containerfile"
|
|
# Revert split of customer facing gcc for container builds
|
|
Prefer: !cpp-build cpp
|
|
Prefer: !gcc-build-ada gcc-ada
|
|
Prefer: !gcc-build-go gcc-go
|
|
Prefer: !gcc-build gcc
|
|
Prefer: !gcc-build-info gcc-info
|
|
Prefer: !gcc-build-c++ gcc-c++
|
|
Prefer: !gcc-build-fortran gcc-fortran
|
|
Prefer: !gcc-build-d gcc-d
|
|
Prefer: !gcc-build-32bit gcc-32bit
|
|
Prefer: !gcc-build-devel gcc-devel
|
|
Prefer: !gcc-build-locale gcc-locale
|
|
Prefer: !gcc-build-c++-32bit gcc-c++-32bit
|
|
Prefer: !gcc-build-fortran-32bit gcc-fortran-32bit
|
|
Prefer: !gcc-build-objc gcc-objc
|
|
Prefer: !gcc-build-objc-32bit gcc-objc-32bit
|
|
Prefer: !gcc-build-obj-c++ gcc-obj-c++
|
|
Prefer: !gcc-build-PIE gcc-PIE
|
|
Prefer: !gcc-build-ada-32bit gcc-ada-32bit
|
|
Prefer: !gcc-build-go-32bit gcc-go-32bit
|
|
Prefer: !gcc-build-d-32bit gcc-d-32bit
|
|
Prefer: !gccjit-build-devel gccjit-devel
|
|
Prefer: !libstdc++-build-devel libstdc++-devel
|
|
Prefer: !libgccjit-build-devel libgccjit-devel
|
|
|
|
Conflict: !cpp
|
|
Conflict: !gcc-ada
|
|
Conflict: !gcc-go
|
|
Conflict: !gcc
|
|
Conflict: !gcc-info
|
|
Conflict: !gcc-c++
|
|
Conflict: !gcc-fortran
|
|
Conflict: !gcc-d
|
|
Conflict: !gcc-32bit
|
|
Conflict: !gcc-devel
|
|
Conflict: !gcc-locale
|
|
Conflict: !gcc-c++-32bit
|
|
Conflict: !gcc-fortran-32bit
|
|
Conflict: !gcc-objc
|
|
Conflict: !gcc-objc-32bit
|
|
Conflict: !gcc-obj-c++
|
|
Conflict: !gcc-PIE
|
|
Conflict: !gcc-ada-32bit
|
|
Conflict: !gcc-go-32bit
|
|
Conflict: !gcc-d-32bit
|
|
Conflict: !gccjit-devel
|
|
Conflict: !libgccjit-devel
|
|
Conflict: !libstdc++-devel
|
|
%endif
|
|
|
|
# Fix: have choice for libyui_pkg needed by yast2-packager: libyui-ncurses-pkg16 libyui-qt-pkg16
|
|
Prefer: -libyui-ncurses-pkg16
|
|
|
|
# Unlike Micro that uses transactional updates, SLES uses traditional updates (at least for a now, 16.0).
|
|
Prefer: -systemd-presets-branding-ALP-transactional
|
|
|
|
# Somehow, for ppc64le, we have:
|
|
# have choice for distribution-release needed by kernel-default-base: SLES-release SLES_SAP-release, have choice for distribution-release needed by aaa_base: SLES-release SLES_SAP-release, have choice for distribution-release needed by patterns-base-minimal_base: SLES-release SLES_SAP-release
|
|
Prefer: SLES-release
|
|
|
|
# In SLFO we prefer upstream branding, while in SLES we prefer the SUSE branding
|
|
Prefer: gio-branding-SLE
|
|
Prefer: NetworkManager-branding-SLE
|
|
Prefer: systemd-default-settings-branding-SLE
|
|
Prefer: gdm-branding-SLE
|
|
Prefer: plymouth-branding-SLE
|
|
|
|
# have choice for chrony-pool neededby chrony:
|
|
Prefer: chrony-pool-suse
|