Detach the sub package gnutls-utils from gnutls

Signed-off-by: zhengxiaoxiao <zhengxiaoxiao2@huawei.com>
This commit is contained in:
zhengxiaoxiao 2024-01-25 07:31:08 +00:00 committed by Gitee
parent e0f3ca6ccc
commit c9bf2a2b44
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: gnutls
Version: 3.6.14
Release: 12
Release: 13
Summary: The GNU Secure Communication Protocol Library
License: LGPLv2.1+ and GPLv3+
@ -46,10 +46,8 @@ Requires: crypto-policies, p11-kit-trust, libtasn1, nettle
Recommends: trousers >= 0.3.11.2
Provides: bundled(gnulib) = 20130424
Provides: gnutls-utils = %{version}-%{release}
Provides: gnutls-c++ = %{version}-%{release}
Provides: gnutls-dane = %{version}-%{release}
Obsoletes: gnutls-utils < %{version}-%{release}
Obsoletes: gnutls-c++ < %{version}-%{release}
Obsoletes: gnutls-dane < %{version}-%{release}
@ -72,6 +70,19 @@ Requires: pkgconf
%description devel
This package contains files needed for developing applications with %{name}.
%package utils
License: GPLv3+
Summary: Command line tools for TLS protocol
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: gnutls-utils
Obsoletes:gnutls-utils
%description utils
GnuTLS is a secure communications library implementing the SSL,TLS and DTLS protocols and technologies around them.
It provides a simple C language application programming interface(API) to access the secure communications protocols
as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures.
This package contains command line TLS clinet and server and certificate manipulation tools.
%package_help
%if %{with guile}
@ -168,15 +179,7 @@ make check %{?_smp_mflags}
%defattr(-,root,root)
%doc README.md AUTHORS
%license LICENSE doc/COPYING doc/COPYING.LESSER
%{_bindir}/certtool
%{_bindir}/tpmtool
%{_bindir}/ocsptool
%{_bindir}/psktool
%{_bindir}/p11tool
%{_bindir}/srptool
%{_bindir}/gnutls*
%if %{with dane}
%{_bindir}/danetool
%{_libdir}/libgnutls-dane.so.*
%endif
%{_libdir}/libgnutls.so.30*
@ -191,6 +194,18 @@ make check %{?_smp_mflags}
%{_libdir}/libgnutls*.so
%{_includedir}/*
%files utils
%{_bindir}/certtool
%{_bindir}/tpmtool
%{_bindir}/ocsptool
%{_bindir}/psktool
%{_bindir}/p11tool
%{_bindir}/srptool
%{_bindir}/gnutls*
%if %{with dane}
%{_bindir}/danetool
%endif
%files help
%defattr(-,root,root)
%doc NEWS THANKS doc/certtool.cfg
@ -211,6 +226,9 @@ make check %{?_smp_mflags}
%endif
%changelog
* Thu Jan 25 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 3.6.14-13
- Detach the sub package gnutls-utils from gnutls
* Wed Jan 17 2024 xuraoqing <xuraoqing@huawei.com> - 3.6.14-12
- fix CVE-2024-0553