# TODO
# - consider dropping last optflags.patch hunk and return to SOMAJOR (.so.1) sonames
# - find a way to simplify (drop) openssl-optflags.patch, it's pain to update here in pld
-# - make with sslv2 bcond work (or drop) after 1.0.2g
#
# Conditional build:
%bcond_without tests # don't perform "make tests"
# Version 1.0.2 will be supported until 2019-12-31.
# https://www.openssl.org/about/releasestrat.html
Version: 1.0.2g
-Release: 6
+Release: 7
License: Apache-like
Group: Libraries
%if %{without snap}
--libdir=%{_lib} \
shared \
threads \
- %{!?with_sslv2:no-ssl2} \
- %{!?with_sslv3:no-ssl3} \
+ %{?with_sslv2:enable-ssl2}%{!?with_sslv2:no-ssl2} \
+ %{?with_sslv3:enable-ssl3}%{!?with_sslv3:no-ssl3} \
%{!?with_zlib:no-}zlib \
enable-camelia \
enable-cms \