Remove dependency on OpenSSL (for F31+).

This commit is contained in:
Thomas Moschny 2019-08-14 10:40:42 +02:00
parent b35f6bad68
commit cc1b8f35c0

View File

@ -2,7 +2,7 @@
Name: botan
Version: %{major_version}.17
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Crypto library written in C++
License: BSD
@ -25,11 +25,6 @@ BuildRequires: python3-sphinx
BuildRequires: boost-python3-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: compat-openssl10-devel
%else
BuildRequires: openssl-devel
%endif
# do not check .so files in the python_sitelib directories
%global __provides_exclude_from ^(%{python3_sitearch}/.*\\.so)$
@ -51,11 +46,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Requires: bzip2-devel
Requires: zlib-devel
%if 0%{?fedora} || 0%{?rhel} > 7
Requires: compat-openssl10-devel
%else
Requires: openssl-devel
%endif
%description devel
The %{name}-devel package contains libraries and header files for
@ -96,7 +86,7 @@ rm -rf checks/ec_tests.cpp
%build
# we have the necessary prerequisites, so enable optional modules
%global enable_modules bzip2,zlib,openssl
%global enable_modules bzip2,zlib
# fixme: maybe disable unix_procs, very slow.
%global disable_modules gnump
@ -201,6 +191,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
%changelog
* Wed Aug 14 2019 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.17-14
- Remove dependency on OpenSSL (for F31+).
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.17-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild