!51 [sync] PR-50: fix Obsoletes in spec and remove ldconfig_scriptlets from check

From: @openeuler-sync-bot 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2023-04-24 06:31:50 +00:00 committed by Gitee
commit 54ab2429d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: libuv
Epoch: 1
Version: 1.42.0
Release: 6
Release: 7
Summary: A multi-platform support library with a focus on asynchronous I/O
# from README.md
@ -23,7 +23,7 @@ Julia, pyuv, and others.
%package devel
Summary: Development libraries for libuv
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-static
Obsoletes: %{name}-static < %{version}-%{release}
Provides: %{name}-static
%description devel
@ -44,8 +44,9 @@ Development libraries for libuv
%make_install
%delete_la
%check
%ldconfig_scriptlets
%check
make check
%files
@ -64,6 +65,9 @@ make check
%doc ChangeLog
%changelog
* Mon Apr 24 2023 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-7
- fix Obsoletes in spec and remove ldconfig_scriptlets from check
* Sat Jan 7 2023 caofei <caofei@xfusion.com> - 1:1.42.0-6
- fix typo in test-tty-escape-sequence-processing.c