From f0abc2fa927ce06b09eb06d8b559128bfa448f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Fri, 4 Jul 2025 13:37:27 +0200 Subject: [PATCH] rpm/deb: remove libtool-ltdl build dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Docker CLI no longer requires libtool-ltdl as a build dependency. Previously it was an indirect dependency introduced by pkcs11, but it's no longer needed after: https://github.com/docker/cli/commit/cb3e55bf5802550428867ee8eba0f1a8e3212813 This patch removes these dependencies from both the Debian control file and RPM spec files. Signed-off-by: Paweł Gronowski --- deb/common/control | 2 -- rpm/SPECS/docker-ce-cli.spec | 1 - rpm/SPECS/docker-ce.spec | 1 - 3 files changed, 4 deletions(-) diff --git a/deb/common/control b/deb/common/control index e2438b91f1..7d85e165dc 100644 --- a/deb/common/control +++ b/deb/common/control @@ -11,7 +11,6 @@ Build-Depends: bash, gcc, git, libc-dev, - libltdl-dev, libsystemd-dev, libtool, make, @@ -32,7 +31,6 @@ Recommends: apparmor, ca-certificates, docker-ce-rootless-extras, git, - libltdl7, pigz, procps, xz-utils diff --git a/rpm/SPECS/docker-ce-cli.spec b/rpm/SPECS/docker-ce-cli.spec index 72157d18a0..2171457d3d 100644 --- a/rpm/SPECS/docker-ce-cli.spec +++ b/rpm/SPECS/docker-ce-cli.spec @@ -22,7 +22,6 @@ Recommends: docker-compose-plugin Suggests: docker-model-plugin BuildRequires: make -BuildRequires: libtool-ltdl-devel BuildRequires: git # conflicting packages diff --git a/rpm/SPECS/docker-ce.spec b/rpm/SPECS/docker-ce.spec index 943162c249..d3b7217885 100644 --- a/rpm/SPECS/docker-ce.spec +++ b/rpm/SPECS/docker-ce.spec @@ -35,7 +35,6 @@ BuildRequires: gcc BuildRequires: git BuildRequires: glibc-static BuildRequires: libtool -BuildRequires: libtool-ltdl-devel BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(systemd)