public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Add build conditionals for zstd and lmdb support, actually enable zstd
Date: Mon, 23 Nov 2026 09:31:37 GMT [thread overview]
Message-ID: <179542629781.1.5741953044968127436.rpms-rpm-cae5fc9f6f49@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : cae5fc9f6f49cf9086cec24760cb720e59d3aa67
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2017-10-03T16:51:31+03:00
Stats : +18/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/cae5fc9f6f49cf9086cec24760cb720e59d3aa67?branch=pmatilai-v6
Log:
Add build conditionals for zstd and lmdb support, actually enable zstd
---
diff --git a/rpm.spec b/rpm.spec
index b510dff..a74c273 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -14,6 +14,10 @@
%bcond_without libimaevm
# build with new db format
%bcond_with ndb
+# build with zstd support?
+%bcond_without zstd
+# build with lmdb support?
+%bcond_with lmdb
# which python subpackages to build (default: all)
# so it can be built in different modules with different subpackages
@@ -27,7 +31,7 @@
%global rpmver 4.14.0
%global snapver rc2
-%global rel 4
+%global rel 5
%global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -119,6 +123,12 @@ BuildRequires: xz-devel >= 4.999.8
%if %{with libarchive}
BuildRequires: libarchive-devel
%endif
+%if %{with zstd}
+BuildRequires: libzstd-devel
+%endif
+%if %{with lmdb}
+BuildRequires: lmdb-devel
+%endif
# Only required by sepdebugcrcfix patch
BuildRequires: binutils-devel
# Couple of patches change makefiles so, require for now...
@@ -208,7 +218,7 @@ Group: Development/Tools
Requires: rpm = %{version}-%{release}
Requires: elfutils >= 0.128 binutils
Requires: findutils sed grep gawk diffutils file patch >= 2.5
-Requires: tar unzip gzip bzip2 cpio xz
+Requires: tar unzip gzip bzip2 cpio xz zstd
Requires: pkgconfig >= 1:0.24
Requires: /usr/bin/gdb-add-index
# Technically rpmbuild doesn't require any external configuration, but
@@ -389,6 +399,8 @@ done;
--with-acl \
%{?with_ndb: --with-ndb} \
%{?with_libimaevm: --with-imaevm} \
+ %{?with_zstd: --enable-zstd} \
+ %{?with_lmdb: --enable-lmdb} \
--enable-python \
--with-crypto=openssl
@@ -634,6 +646,10 @@ make check
%doc doc/librpm/html/*
%changelog
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
+- Add build conditionals for zstd and lmdb support
+- Enable zstd support
+
* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
- Spec cleanups
reply other threads:[~2026-11-23 9:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542629781.1.5741953044968127436.rpms-rpm-cae5fc9f6f49@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox