From 62a449f6f4c2bf45b4580f88e149fb35e9e2ec6c Mon Sep 17 00:00:00 2001 From: xuraoqing <609179072@qq.com> Date: Thu, 1 Sep 2022 20:28:46 +0800 Subject: [PATCH] Detach the sub package gnutls-utils form gnutls --- gnutls.spec | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/gnutls.spec b/gnutls.spec index 4ef83a5..282c4b0 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ Name: gnutls Version: 3.6.14 -Release: 9 +Release: 10 Summary: The GNU Secure Communication Protocol Library License: LGPLv2.1+ and GPLv3+ @@ -42,10 +42,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} @@ -68,6 +66,18 @@ 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} + +%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 communication protocols as well as APIs to parse +and write X.509, PKCS #12, OpenPGP and other required structures. +This package contains command line TLS client and server certificate manipulation tools. + %package_help %if %{with guile} @@ -131,6 +141,8 @@ export GUILD %endif --disable-rpath \ --with-default-priority-string="@SYSTEM" + + make %{?_smp_mflags} V=1 @@ -164,15 +176,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* @@ -187,6 +191,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 @@ -207,6 +223,9 @@ make check %{?_smp_mflags} %endif %changelog +* Thu Sep 1 2022 xuraoqing - 3.6.14-10 +- Detach the sub package gnutls-utils from gnutls + * Mon Aug 29 2022 yanglongkang - 3.6.14-9 - fix CVE-2021-4209 -- Gitee