mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Add support for compat-openssl10 build dep.
This commit is contained in:
parent
04f4e8193c
commit
9c34a76f09
@ -24,13 +24,19 @@
|
|||||||
%define gtk2 1
|
%define gtk2 1
|
||||||
|
|
||||||
# Use build6x options for older RHEL builds
|
# Use build6x options for older RHEL builds
|
||||||
# RHEL 7 and Fedora not yet supported
|
# RHEL 7 not yet supported
|
||||||
%if 0%{?rhel} > 6
|
%if 0%{?rhel} > 6
|
||||||
%define build6x 0
|
%define build6x 0
|
||||||
%else
|
%else
|
||||||
%define build6x 1
|
%define build6x 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 26
|
||||||
|
%define compat_openssl 1
|
||||||
|
%else
|
||||||
|
%define compat_openssl 0
|
||||||
|
%endif
|
||||||
|
|
||||||
# Do we want kerberos5 support (1=yes 0=no)
|
# Do we want kerberos5 support (1=yes 0=no)
|
||||||
%define kerberos5 1
|
%define kerberos5 1
|
||||||
|
|
||||||
@ -90,8 +96,12 @@ PreReq: initscripts >= 5.00
|
|||||||
Requires: initscripts >= 5.20
|
Requires: initscripts >= 5.20
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if %{compat_openssl}
|
||||||
|
BuildRequires: compat-openssl10-devel
|
||||||
|
%else
|
||||||
BuildRequires: openssl-devel >= 1.0.1
|
BuildRequires: openssl-devel >= 1.0.1
|
||||||
BuildRequires: openssl-devel < 1.1
|
BuildRequires: openssl-devel < 1.1
|
||||||
|
%endif
|
||||||
BuildRequires: /bin/login
|
BuildRequires: /bin/login
|
||||||
%if ! %{build6x}
|
%if ! %{build6x}
|
||||||
BuildRequires: glibc-devel, pam
|
BuildRequires: glibc-devel, pam
|
||||||
@ -413,6 +423,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Sat Feb 10 2018 Darren Tucker <dtucker@dtucker.net>
|
* Sat Feb 10 2018 Darren Tucker <dtucker@dtucker.net>
|
||||||
- Update openssl-devel dependency to match current requirements.
|
- Update openssl-devel dependency to match current requirements.
|
||||||
|
- Handle Fedora >=6 openssl 1.0 compat libs.
|
||||||
|
|
||||||
* Sun Nov 16 2014 Nico Kadel-Garcia <nakdel@gmail.com>
|
* Sun Nov 16 2014 Nico Kadel-Garcia <nakdel@gmail.com>
|
||||||
- Add '--mandir' and '--with-mantype' for RHEL 5 compatibility
|
- Add '--mandir' and '--with-mantype' for RHEL 5 compatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user