!14 [sync] PR-13: sync release from 22.03 to 22.09

From: @openeuler-sync-bot 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-08-03 02:44:54 +00:00 committed by Gitee
commit 67645f37d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: uuid
Version: 1.6.2
Release: 45
Release: 47
Summary: Universally Unique Identifier library
License: MIT
URL: http://www.ossp.org/pkg/lib/uuid/
@ -12,7 +12,7 @@ Patch0004: uuid-1.6.2-hwaddr.patch
Patch0005: uuid-1.6.2-nostrip.patch
Patch0006: uuid-1.6.2-manfix.patch
Patch0007: uuid-aarch64.patch
BuildRequires: libtool gcc-c++
BuildRequires: libtool gcc-c++ chrpath
Obsoletes: %{name}-pgsql < 1.6.2-24
%description
@ -111,6 +111,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
popd
chrpath -d %{buildroot}/%{_bindir}/%{name}
%check
make check
@ -174,6 +176,12 @@ popd
%{_mandir}/man3/*
%changelog
* Fri Oct 29 2021 Chenxi Mao <chenxi.mao@suse.com> - 1.6.2-47
- Add chrpath to BuildRequires
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 1.6.2-46
- Remove rpath
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.6.2-45
- Completing build dependencies to fix gcc-c++ compiler missing error