Project Configuration of SUSE:SLE-15-SP5:GA
109
1
Patterntype: rpm-md ymp
2
%if "%_repository" == "images"
3
Type: kiwi
4
Repotype: slepool:nobuildid
5
Patterntype: none
6
Prefer: sles-release
7
# disabled as requested in https://mailman.suse.de/mailman/private/autobuild/2023-March/031796.html
8
# Support: release-compare
9
# BuildFlags: obsgendiff
10
Substitute: kiwi python3-kiwi
11
%endif
12
13
%if "%_repository" == "containerfile"
14
Type: docker
15
Prefer: sles-release
16
Preinstall: release-compare
17
# KUBEVIRTFROM is passed to container Dockerfiles using the --build-arg option, e.g.
18
# docker build --build-arg KUBEVIRTFROM=suse/sle15:15.5 ...
19
BuildFlags: dockerarg:KUBEVIRTFROM=suse/sle15:15.5
20
%endif
21
22
%define current_milestone PublicBeta-202302
23
Macros:
24
%current_milestone PublicBeta-202302
25
:Macros
26
27
# COMMON BEGIN common part
28
%define sle_version 150500
29
Macros:
30
%sle_version 150500
31
:Macros
32
33
# define a prefix for all package builds in SLE 15 SP4 to handle migration of packages
34
# with identical version but lower release version than in a preceding codestream
35
Release: <CI_CNT>.<B_CNT> spec:%sle_version.<CI_CNT>.<B_CNT>
36
37
# requested by Gustavo on 21022/08/19
38
# copy tftpboot-installation files across all archs
39
%ifarch aarch64 ppc64le s390x x86_64
40
ExportFilter: ^tftpboot-installation-SLE-15-SP5-aarch64.*\.rpm$ . ppc64le s390x x86_64
41
ExportFilter: ^tftpboot-installation-SLE-15-SP5-ppc64le.*\.rpm$ . aarch64 s390x x86_64
42
ExportFilter: ^tftpboot-installation-SLE-15-SP5-s390x.*\.rpm$ . aarch64 ppc64le x86_64
43
ExportFilter: ^tftpboot-installation-SLE-15-SP5-x86_64.*\.rpm$ . aarch64 ppc64le s390x
44
%endif
45
46
# fixed choice for wicked needed by dracut (SR#288645) requested by Gustave on 2023/01/26 via mail
47
Prefer: -iputils
48
49
# requested by Stefan Weiberg on 2022/08/30 in #team-dist
50
Prefer: -libasan6-gcc10
51
52
# requested by Stefan Weiberg on 2022/09/19
53
# required for libvirt 8.7 (bsc#1203512)
54
FileProvides: /usr/bin/lzop lzop
55
56
# requested by Stefan Weiberg on 2022/09/20
57
# Update of pacemaker and rename of libraries in SR#279289
58
Prefer: -libpacemaker-devel
59
Prefer: -libpacemaker3
60
# Update of cluster-glue and rename of libraries in SR#279338
61
Prefer: -libglue2
62
63
# requested by Stefan Weiberg on 2022/09/28
64
# fix build dependency for resource-agents, as IBS prefers the literal match (bsc#1203744)
65
Substitute: libglue-devel cluster-glue-devel
66
67
# requested by Stefan Weiberg on 2022/10/31
68
# resolve choice for split in libpolkit0 (bsc#1191781)
69
Prefer: -libpolkit0
70
71
# requested by Gustavo Yokoyama Ribeiro <gyribeiro@suse.com> on 2022/11/09
72
# fix have choice for pkgconfig(libibverbs) needed by libuct-devel
73
Prefer: -rdma-core-devel-32bit
74
75
# requested by Gustavo Yokoyama Ribeiro <gyribeiro@suse.com> on 2022/12/13
76
# Packages have a dependency on this-is-only-for-build-envs to guarantee that they don't end up in any shipped products.
77
Ignore: ghc-bootstrap-helpers:this-is-only-for-build-envs
78
Ignore: ghc-bootstrap:this-is-only-for-build-envs
79
80
# requested by Gustavo Yokoyama Ribeiro <gyribeiro@suse.com> on 2023/01/25
81
# resolve choice for lua-luafilesystem needed by lua-lmod (SR#287682)
82
Prefer: -lua51-luafilesystem
83
84
# requested by Gustavo Yokoyama Ribeiro <gyribeiro@suse.com> on 2023/03/01
85
# fix installation-images:SLES have choice for
86
# libopenblas.so.0()(64bit) needed by python3-numpy: libopenblas_openmp0
87
# libopenblas_pthreads0 libopenblas_serial0 (openblas SR#290446)
88
Prefer: -libopenblas_openmp0 -libopenblas_serial0
89
90
# requested by Gustavo Yokoyama Ribeiro <gyribeiro@suse.com> on 2023/04/11
91
# fix openvswitch3 has choice for dpdk-devel >= 22.11.1: dpdk22-devel dpdk22-thunderx-devel (dpdk SR#294189)
92
Prefer: -dpdk22-thunderx-devel
93
94
## Smar additions ##
95
96
# Enable sccache, which seems to be enabled at least in rust1.69.
97
# I don’t know how this will work, but hopefully it is fully
98
# automatized, that is the objects will be shared between builds.
99
# Source: https://en.opensuse.org/Enable_sccache
100
#BuildFlags: ccachetype:sccache
101
#BuildFlags: useccache:llvm15
102
# NOTE: Looks like llvm15 build with sccache is failing to somewhere. So just disabling this here now.
103
104
# For libguestfs
105
Prefer: -libacl-devel-32bit
106
107
# For papi (This probably isn’t really important, but whatever)
108
Preinstall: !libquadmath0
109
Prefer: -libquadmath0 libquadmath0-gcc12