!49 fix Obsoletes in spec and remove ldconfig_scriptlets from check

From: @tong_1001 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2023-04-24 06:11:52 +00:00 committed by Gitee
commit 333ff27580
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: 4
Release: 5
Summary: A multi-platform support library with a focus on asynchronous I/O
# from README.md
@ -21,7 +21,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
@ -41,8 +41,9 @@ Development libraries for libuv
%make_install
%delete_la
%check
%ldconfig_scriptlets
%check
make check
%files
@ -61,6 +62,9 @@ make check
%doc ChangeLog
%changelog
* Mon Apr 24 2023 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-5
- fix Obsoletes in spec and remove ldconfig_scriptlets from check
* Thu Dec 15 2022 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-4
- add make to buildrequires