修复pstree --version 版本号显示问题

Signed-off-by: 朱进 <zhujin18@huawei.com>
(cherry picked from commit 633fe365f1050a136a3d1dddda6de61150bb98d8)
This commit is contained in:
朱进 2023-06-06 12:30:41 +00:00 committed by openeuler-sync-bot
parent c8c2e10cc0
commit 89be5f8759

View File

@ -1,6 +1,6 @@
Name: psmisc Name: psmisc
Version: 23.5 Version: 23.5
Release: 1 Release: 2
Summary: Utilities for managing processes on your system Summary: Utilities for managing processes on your system
License: GPLv2+ License: GPLv2+
URL: https://gitlab.com/psmisc/psmisc URL: https://gitlab.com/psmisc/psmisc
@ -16,6 +16,7 @@ administrator with some help in common tasks.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
echo %{version} > .tarball-version
./autogen.sh ./autogen.sh
%configure --prefix=%{_prefix} --enable-selinux %configure --prefix=%{_prefix} --enable-selinux
%make_build %make_build
@ -34,6 +35,9 @@ mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_sbindir}
%doc AUTHORS ChangeLog README %doc AUTHORS ChangeLog README
%changelog %changelog
* Tue Jun 6 2023 zhujin <zhujin18@huawei.com> - 23.5-2
- fix pstree version display problem
* Fri Nov 4 2022 zhujin <zhujin18@huawei.com> - 23.5-1 * Fri Nov 4 2022 zhujin <zhujin18@huawei.com> - 23.5-1
- upgrade to 23.5 - upgrade to 23.5