Explicitly depend on OpenSSL version 1.0.x since vsftpd doesn't compile against

the API provided by newer versions.

OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=110
This commit is contained in:
2017-05-31 15:30:59 +00:00
committed by Git OBS Bridge
parent ac2e1d899b
commit 46b63b2299
2 changed files with 9 additions and 1 deletions

View File

@@ -71,12 +71,14 @@ Patch23: vsftpd-ls-memleak.patch
Patch24: vsftpd-3.0.2-wnohang.patch
Patch25: vsftpd-3.0.2-fix-chown-uploads.patch
BuildRequires: libcap-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
Requires: logrotate
Requires(pre): shadow
%if 0%{?suse_version} >= 1330
Requires(pre): group(nobody)
BuildRequires: libopenssl-1_0_0-devel
%else
BuildRequires: libopenssl-devel
%endif
Provides: ftp-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build