diff --git a/uw-imap.spec b/uw-imap.spec index 6428682..a780da0 100644 --- a/uw-imap.spec +++ b/uw-imap.spec @@ -72,12 +72,17 @@ Patch12: imap-2007f-format-security.patch Patch13: imap-2007e-poll.patch BuildRequires: krb5-devel -BuildRequires: openssl-devel BuildRequires: pam-devel Requires: xinetd Requires(post): openssl +%if 0%{?fedora} > 25 || 0%{?rhel} > 7 +BuildRequires: compat-openssl10-devel +%else +BuildRequires: openssl-devel +%endif + %if 0%{?_with_system_libc_client} BuildRequires: libc-client-devel = %{version} Requires: %{imap_libs}%{?_isa} = %{version} @@ -271,10 +276,6 @@ mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs touch $RPM_BUILD_ROOT%{ssldir}/certs/{imapd,ipop3d}.pem -%clean -rm -rf $RPM_BUILD_ROOT - - # FIXME, do on first launch (or not at all?), not here -- Rex %post { @@ -351,8 +352,9 @@ done %changelog * Tue Jul 11 2017 Rex Dieter - 2007f-14 -- .spec cosmetics, %%define -> %%global +- .spec cosmetics, %%define -> %%global, drop %%clean - workaround el6 libc-client WONTFIX brokenness (#736120) +- use compat-openssl10 on f26+ (#1424334) * Sat Feb 11 2017 Fedora Release Engineering - 2007f-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild