Add librnp-rnp subpackage

This commit is contained in:
Andrew Lukoshko 2022-10-03 10:05:47 +00:00
parent c5aa5e6997
commit a184e57b70

View File

@ -352,7 +352,7 @@ BuildRequires: xmlto
%endif
# Don't require any OpenPGP backend with the librnp interface, because RHEL does not have it
#Requires: thunderbird-librnp%{?_isa}
Requires: thunderbird-librnp%{?_isa}
# prefer the librnp implementation bundled with thunderbird
#Not in RHEL7 Suggests: thunderbird-librnp-rnp%{?_isa}
Requires: p11-kit-trust
@ -502,19 +502,19 @@ Provides: bundled(nspr) = 4.34.0
%description
Mozilla Thunderbird is a standalone mail and newsgroup client.
#%package librnp-rnp
#Summary: OpenPGP implementation for Thunderbird based on RNP
#Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
#Provides: thunderbird-librnp
#Provides: thunderbird-librnp%{?_isa}
#Conflicts: thunderbird-librnp%{?_isa}
#%description librnp-rnp
#The thunderbird-librnp-rnp package contains an OpenPGP implementation
#based on RNP.
#%files librnp-rnp
#%{mozappdir}/librnp.so
#%{mozappdir}/rnp-cli
#%{mozappdir}/rnpkeys
%package librnp-rnp
Summary: OpenPGP implementation for Thunderbird based on RNP
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: thunderbird-librnp
Provides: thunderbird-librnp%{?_isa}
Conflicts: thunderbird-librnp%{?_isa}
%description librnp-rnp
The thunderbird-librnp-rnp package contains an OpenPGP implementation
based on RNP.
%files librnp-rnp
%{mozappdir}/librnp.so
%{mozappdir}/rnp-cli
%{mozappdir}/rnpkeys
%prep
echo "Build environment"