From 99a8503eee457edeb1ff6b40f03a2cc97797d7b7 Mon Sep 17 00:00:00 2001 From: Bo Ren Date: Mon, 11 Mar 2024 17:35:07 +0800 Subject: [PATCH] Rebuild with python3.11 Signed-off-by: Bo Ren --- btrfs-progs.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/btrfs-progs.spec b/btrfs-progs.spec index 6b8d982..c2439f7 100644 --- a/btrfs-progs.spec +++ b/btrfs-progs.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: btrfs-progs Summary: An userspace programs named btrfs @@ -14,7 +14,7 @@ Source2: gpgkey-F2B41200C54EFB30380C1756C565D5F9D76D583B.gpg BuildRequires: gnupg2 e2fsprogs-devel libacl-devel, lzo-devel systemd BuildRequires: gcc, autoconf, automake, make BuildRequires: pkgconfig(blkid) pkgconfig(uuid) pkgconfig(zlib) pkgconfig(libgcrypt) >= 1.8.0 pkgconfig(libudev) pkgconfig(libzstd) >= 1.0.0 -BuildRequires: python3-devel >= 3.4 python3-sphinx python3-setuptools +BuildRequires: python3-devel >= 3.4 python3-sphinx python3-setuptools python3-rpm-macros %description Btrfs is a modern copy on write (COW) filesystem for Linux @@ -115,7 +115,7 @@ popd %{_udevrulesdir}/64-btrfs-zoned.rules %{_datadir}/bash-completion/completions/btrfs %{abidir}/btrfstune-option.list -%{abidir}/btrfsutil.cpython-310-%{_arch}-linux-gnu.dump +%{abidir}/btrfsutil.cpython-%{python3_version_nodots}-%{_arch}-linux-gnu.dump %{abidir}/fsck.btrfs-option.list %{abidir}/mkfs.btrfs-option.list %{_mandir}/man5/* @@ -143,6 +143,10 @@ popd %{python3_sitearch}/btrfsutil.*.so %changelog +* Mon Mar 11 2024 Bo Ren - 6.1.2-3 +- Rebuild with python3.11 +- Fix build error + * Tue Apr 11 2023 Heng Qi - 6.1.2.-2 - Refactor the spec file -- Gitee