xfsprogs: use --enable-editline=yes to enable graceful
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 Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Signed-off-by: liuzhiqiang <lzhq28@mail.ustc.edu.cn>
This commit is contained in:
parent
77a0fbb16f
commit
bfc6ed89b9
@ -1,6 +1,6 @@
|
|||||||
Name: xfsprogs
|
Name: xfsprogs
|
||||||
Version: 6.1.1
|
Version: 6.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Administration and debugging tools for the XFS file system
|
Summary: Administration and debugging tools for the XFS file system
|
||||||
License: GPL+ and LGPLv2+
|
License: GPL+ and LGPLv2+
|
||||||
URL: https://xfs.wiki.kernel.org
|
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
|
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: 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
|
Recommends: %{name}-xfs_scrub
|
||||||
Provides: xfs-cmds
|
Provides: xfs-cmds
|
||||||
@ -58,7 +59,7 @@ This contains man files for the using of xfsprogs.
|
|||||||
%build
|
%build
|
||||||
export tagname=CC
|
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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -103,6 +104,11 @@ rm -rf %{buildroot}%{_datadir}/doc/xfsprogs/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 28 2023 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 6.1.1-2
|
||||||
|
- 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
|
||||||
|
|
||||||
* Wed Feb 8 2023 wuguanghao <wuguanghao3@huawei.com> - 6.1.1-1
|
* Wed Feb 8 2023 wuguanghao <wuguanghao3@huawei.com> - 6.1.1-1
|
||||||
- upgrade version to 6.1.1
|
- upgrade version to 6.1.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user