public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/btrfs-progs] rawhide: Switch from libgcrypt to libkcapi for crypto
@ 2026-10-09 15:14 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-09 15:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/btrfs-progs
            Branch : rawhide
            Commit : 6dc75aa4fc215a52e12445b93247d84d92ea31a8
            Author : Neal Gompa <ngompa@fedoraproject.org>
            Date   : 2026-10-09T11:13:01-04:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/btrfs-progs/c/6dc75aa4fc215a52e12445b93247d84d92ea31a8?branch=rawhide

            Log:
            Switch from libgcrypt to libkcapi for crypto

This ensures the same crypto code is used in both kernel-space and
user-space.

---
diff --git a/btrfs-progs.spec b/btrfs-progs.spec
index f7738c5..7c645a8 100644
--- a/btrfs-progs.spec
+++ b/btrfs-progs.spec
@@ -3,7 +3,7 @@
 
 Name:           btrfs-progs
 Version:        7.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Userspace programs for btrfs
 
 License:        GPL-2.0-only
@@ -24,7 +24,7 @@ BuildRequires:  libacl-devel, lzo-devel
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(zlib)
-BuildRequires:  pkgconfig(libgcrypt) >= 1.8.0
+BuildRequires:  pkgconfig(libkcapi) >= 1.0.0
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libzstd) >= 1.0.0
 BuildRequires:  python3-sphinx
@@ -102,7 +102,7 @@ xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}
 
 # this generates version.py so we have to run it early
 ./autogen.sh
-%configure CFLAGS="%{optflags} -fno-strict-aliasing" --with-crypto=libgcrypt --disable-python
+%configure CFLAGS="%{optflags} -fno-strict-aliasing" --with-crypto=libkcapi --disable-python
 
 %generate_buildrequires
 pushd libbtrfsutil/python >/dev/null
@@ -169,6 +169,9 @@ popd >/dev/null
 
 
 %changelog
+* Fri Oct 09 2026 Neal Gompa <ngompa@fedoraproject.org> - 7.1-2
+- Switch from libgcrypt to libkcapi for crypto
+
 * Mon Aug 17 2026 Packit <hello@packit.dev> - 7.1-1
 - Update to version 7.1
 - Resolves: rhbz#2500802

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 15:14 [rpms/btrfs-progs] rawhide: Switch from libgcrypt to libkcapi for crypto Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox