diff --git a/gnutls.spec b/gnutls.spec index 4ebd4e4146a77f71bec3ed842a82ff0a784fe8ce..7778251382864adba7aacbf794b9c20f3fd82e7b 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ Name: gnutls Version: 3.7.2 -Release: 1 +Release: 2 Summary: The GNU Secure Communication Protocol Library License: LGPLv2.1+ and GPLv3+ @@ -19,7 +19,7 @@ BuildRequires: libtasn1-devel, libtool, automake, autoconf, texinfo BuildRequires: autogen-libopts-devel, gperf, gnupg2, gcc, gcc-c++ BuildRequires: nettle-devel, trousers-devel, libidn2-devel BuildRequires: libunistring-devel, net-tools, softhsm -BuildRequires: p11-kit-trust, ca-certificates +BuildRequires: p11-kit-trust, ca-certificates, gtk-doc, perl %if %{with fips} BuildRequires: fipscheck %endif @@ -34,10 +34,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} @@ -60,6 +58,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} + +%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, and other +required structures. +This package contains command line TLS client and servers and certificate manipulation tools. + %package_help %if %{with guile} @@ -79,7 +90,7 @@ sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spe rm -f lib/minitasn1/*.c lib/minitasn1/*.h rm -f src/libopts/*.c src/libopts/*.h src/libopts/compat/*.c src/libopts/compat/*.h -autoreconf +autoreconf -fi echo "SYSTEM=NORMAL" >> tests/system.prio @@ -156,15 +167,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* @@ -179,6 +182,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 @@ -199,6 +214,9 @@ make check %{?_smp_mflags} %endif %changelog +* Tue Mar 15 2022 liudabo - 3.7.2-2 +- detach the sub package gnutls-utils from gnutls + * Fri Sep 17 2021 wuchaochao - 3.7.2-1 - update package version to 3.7.2 and remove BuildRequires autogen