From eb5ca09e3eedbc03d2dd54de8893240e704731d3 Mon Sep 17 00:00:00 2001 From: Joseph Marrero Date: Fri, 9 Aug 2024 16:22:28 -0400 Subject: [PATCH] packaging/rpm-ostree.spec: add libzstd-devel BuildRequires After the initial changes to ostree-ext introducing support for zstd:chunked, which can be found in this pull request: https://github.com/ostreedev/ostree-rs-ext/pull/615, an additional PR modified the dependency on zstd during build time to use pkg-config. You can review these changes in the pull request: https://github.com/ostreedev/ostree-rs-ext/pull/628. These updates also required modifications to bootc, detailed in this pull request: https://github.com/containers/bootc/pull/586. This commit mirrors those changes in rpm-ostree. With these changes, it will be possible to build RPMs on systems that do not have zstd-devel pre-installed in the build root. --- packaging/rpm-ostree.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/rpm-ostree.spec b/packaging/rpm-ostree.spec index 4ac3865600..afd02855bc 100644 --- a/packaging/rpm-ostree.spec +++ b/packaging/rpm-ostree.spec @@ -60,6 +60,8 @@ BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsystemd) BuildRequires: libcap-devel BuildRequires: libattr-devel +# Needed by the ostree-ext crate +BuildRequires: libzstd-devel # We currently interact directly with librepo (libdnf below also pulls it in, # but duplicating to be clear)