Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions root/common/deps/build/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,44 @@ title: Common Build Dependencies Project
description: |
Build-time dependency packages (Go toolchain, OBS source services) used by multiple projects.
publish: false

project-config: |
%if "%_repository" == "RockyLinux_8" || "%_repository" == "UBI_8"
ExpandFlags: module:llvm-toolset-rhel8
ExpandFlags: module:perl-5.26
ExpandFlags: module:perl-IO-Socket-SSL-2.066
ExpandFlags: module:perl-libwww-perl-6.34
Prefer: selinux-policy-targeted
%endif

%if "%_repository" == "RockyLinux_9"
ExpandFlags: module:llvm-toolset-rhel9
# hdf-libs (EPEL split package) and hdf both provide libdf.so.0 and libmfhdf.so.0
Prefer: hdf-libs
%endif

%if "%_repository" == "RockyLinux_10"
Prefer: llvm-libs
%endif

%if "%_repository" == "Debian_11" || "%_repository" == "Debian_12" || "%_repository" == "Ubuntu_22.04"
# llvm-*-dev needs libtinfo-dev; both libncurses-dev and libtinfo-dev satisfy
# it and OBS reports "have choice" without a Prefer.
Prefer: libncurses-dev
# logrotate Recommends a cron daemon; both cron and bcron may be available.
Prefer: cron
%endif

%if "%_repository" == "Debian_11" || "%_repository" == "Debian_12" || "%_repository" == "Debian_13" || "%_repository" == "Ubuntu_22.04" || "%_repository" == "Ubuntu_24.04"
Prefer: golang-1.26
%endif

%if "%_repository" == "Debian_11" || "%_repository" == "Debian_12" || "%_repository" == "Debian_13" || "%_repository" == "Ubuntu_22.04" || "%_repository" == "Ubuntu_24.04" || "%_repository" == "Ubuntu_26.04"
# libgdal-dev transitively requires both libcurl4-openssl-dev and
# libcurl4-gnutls-dev which conflict; ignore the gnutls variant so
# the openssl variant is used consistently.
Ignore: libcurl4-gnutls-dev
# libgdal-dev and several of its deps use libjpeg-dev which is provided
# by both libjpeg62-turbo-dev and libjpeg-dev; prefer the turbo variant.
Prefer: libjpeg62-turbo-dev
%endif
Loading