From 7a31da9fd26931cc34dcd19e07334b8da4d13faa Mon Sep 17 00:00:00 2001 From: liuzhiqiang Date: Fri, 28 Apr 2023 08:08:12 +0000 Subject: [PATCH] =?UTF-8?q?xfsprogs:=20use=20--enable-editline=3Dyes=20to?= =?UTF-8?q?=20enable=20graceful=20input=20readline=20has=20been=20removed?= =?UTF-8?q?=20by=20bbe12eb9a0f9=20(xfsprogs:=20remove=20libreadline=20supp?= =?UTF-8?q?ort),=20we=20can=20use=20--enable-editline=3Dyes=20to=20enable?= =?UTF-8?q?=20similar=20functions.=20fix=20issue:=20#I6Y8SU:xfs=5Fdb?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=88=A0=E9=99=A4=E9=94=AE=E4=B8=BA?= =?UTF-8?q?'^H'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuzhiqiang (cherry picked from commit bdbd2ec7e32d30bb5d1280f63946c9e291e63015) --- xfsprogs.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/xfsprogs.spec b/xfsprogs.spec index dfd1694..d5995b5 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,6 +1,6 @@ Name: xfsprogs Version: 5.14.1 -Release: 7 +Release: 8 Summary: Administration and debugging tools for the XFS file system License: GPL+ and LGPLv2+ URL: https://xfs.wiki.kernel.org @@ -8,7 +8,8 @@ URL: https://xfs.wiki.kernel.org Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz BuildRequires: libtool libattr-devel libuuid-devel gcc gettext inih-devel userspace-rcu-devel -BuildRequires: readline-devel libblkid-devel >= 2.30 lvm2-devel libicu-devel >= 62.0 +BuildRequires: libedit-devel libblkid-devel >= 2.30 lvm2-devel libicu-devel >= 62.0 +Requires: libedit Recommends: %{name}-xfs_scrub Provides: xfs-cmds @@ -62,7 +63,7 @@ This contains man files for the using of xfsprogs. %build export tagname=CC -%configure --enable-readline=yes --enable-blkid=yes --enable-lto=no +%configure --enable-editline=yes --enable-blkid=yes --enable-lto=no make %{?_smp_mflags} @@ -106,6 +107,11 @@ rm -rf %{buildroot}%{_datadir}/doc/xfsprogs/ %changelog +* Fri Apr 28 2023 Zhiqiang Liu - 5.14.1-8 +- readline has been removed by bbe12eb9a0f9 (xfsprogs: remove libreadline support), + we can use --enable-editline=yes to enable similar functions. + fix issue: https://gitee.com/src-openeuler/xfsprogs/issues/I6Y8SU + * Tue Dec 13 2022 Xiaole He - 5.14.1-7 - add Patch5: xfs_db: use preferable macro to seek offset for local dir3 entry fields -- Gitee