Accepting request 784621 from home:favogt:rpmsmalle

- Split dirmngr into a subpackage to avoid a hard dependency of
  gpg2 on libgnutls

OBS-URL: https://build.opensuse.org/request/show/784621
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=245
This commit is contained in:
Tomáš Chvátal 2020-03-13 12:49:16 +00:00 committed by Git OBS Bridge
parent 85543adb99
commit 24f6e57c6d
2 changed files with 28 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 13 10:39:09 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Split dirmngr into a subpackage to avoid a hard dependency of
gpg2 on libgnutls
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 19 08:48:34 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> Wed Feb 19 08:48:34 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -65,8 +65,7 @@ Requires: libgcrypt20 >= 1.7.0
Requires: libksba >= 1.3.4 Requires: libksba >= 1.3.4
Requires: pinentry Requires: pinentry
Requires(post): %{install_info_prereq} Requires(post): %{install_info_prereq}
Obsoletes: dirmngr < 2.1.0 Recommends: dirmngr = %{version}
Provides: dirmngr = %{version}
Provides: gnupg = %{version} Provides: gnupg = %{version}
Provides: gpg = 1.4.9 Provides: gpg = 1.4.9
Provides: newpg Provides: newpg
@ -81,6 +80,18 @@ messages and/or to sign and verify them.
gpg2 provides GPGSM, gpg-agent, and a keybox library. gpg2 provides GPGSM, gpg-agent, and a keybox library.
%package -n dirmngr
Summary: Keyserver, CRL, and OCSP access for GnuPG
Group: Productivity/Networking/Security
%description -n dirmngr
Since version 2.1 of GnuPG, dirmngr takes care of accessing the OpenPGP
keyservers. As with previous versions it is also used as a server for managing
and downloading certificate
revocation lists (CRLs) for X.509 certificates, downloading X.509 certificates,
and providing access to OCSP providers. Dirmngr is invoked internally by gpg,
gpgsm, or via the gpg-connect-agent tool.
%lang_package %lang_package
%prep %prep
@ -167,10 +178,13 @@ install -m 755 tools/gpg-zip %{buildroot}/%{_bindir}
%files %files
%{_infodir}/gnupg* %{_infodir}/gnupg*
%exclude %{_mandir}/*/dirmngr*%{ext_man}
%{_mandir}/*/*%{ext_man} %{_mandir}/*/*%{ext_man}
%license COPYING* %license COPYING*
%doc AUTHORS ChangeLog NEWS THANKS TODO doc/FAQ %doc AUTHORS ChangeLog NEWS THANKS TODO doc/FAQ
%exclude %{_docdir}/%{name}/examples/systemd-user/dirmngr.*
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}
%exclude %{_bindir}/dirmngr*
%{_bindir}/* %{_bindir}/*
%{_libdir}/[^d]* %{_libdir}/[^d]*
%{_sbindir}/addgnupghome %{_sbindir}/addgnupghome
@ -181,4 +195,10 @@ install -m 755 tools/gpg-zip %{buildroot}/%{_bindir}
%dir %{_sysconfdir}/gnupg %dir %{_sysconfdir}/gnupg
%config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf %config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf
%files -n dirmngr
%license COPYING*
%{_mandir}/*/dirmngr*%{ext_man}
%{_docdir}/%{name}/examples/systemd-user/dirmngr.*
%{_bindir}/dirmngr*
%changelog %changelog