!4 Del rpath for binaries in /sbin

From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-10 02:27:01 +00:00 committed by Gitee
commit bc81cec5f2

View File

@ -1,12 +1,12 @@
Name: reiserfs-utils
Version: 3.6.27
Release: 3
Release: 4
Summary: Tools for creating, repairing, and debugging ReiserFS filesystems
URL: http://ftp.kernel.org/pub/linux/utils/fs/reiserfs/
Source0: https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/%{version}/reiserfsprogs-%{version}.tar.xz
Patch0001: parse_time_build_fix.patch
License: GPLv2 with exceptions
BuildRequires: e2fsprogs-devel libuuid-devel libacl-devel gcc
BuildRequires: e2fsprogs-devel libuuid-devel libacl-devel gcc chrpath
%description
The reiserfs-utils package contains a number of utilities for creating, checking, modifying,
@ -40,7 +40,7 @@ install -m644 debugreiserfs/debugreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
install -m644 fsck/reiserfsck.8 $RPM_BUILD_ROOT%{_mandir}/man8
install -m644 mkreiserfs/mkreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
( cd $RPM_BUILD_ROOT/sbin; ln -fs mkreiserfs mkfs.reiserfs; ln -fs reiserfsck fsck.reiserfs )
chrpath -d $RPM_BUILD_ROOT/sbin/*reiserfs*
%files
%doc ChangeLog CREDITS README COPYING
@ -53,6 +53,9 @@ install -m644 mkreiserfs/mkreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
%{_mandir}/*/*
%changelog
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.6.27-4
- Del rpath for binaries in /sbin
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 3.6.27-3
- Completing build dependencies to fix gcc compiler missing error