Skip to content

Commit

Permalink
packaging/rpm-ostree.spec: add libzstd-devel BuildRequires
Browse files Browse the repository at this point in the history
After the initial changes to ostree-ext introducing support for
zstd:chunked, which can be found in this pull request:
ostreedev/ostree-rs-ext#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:
ostreedev/ostree-rs-ext#628.

These updates also required modifications to bootc, detailed in
this pull request: containers/bootc#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.
  • Loading branch information
jmarrero committed Aug 9, 2024
1 parent 464ace6 commit eb5ca09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb5ca09

Please sign in to comment.