From a123fe4a199e4dd2061d77192a5d47b092c47dc5 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 8 Jun 2022 09:07:05 -0400 Subject: ffs: use libssh2-ffs on el8 --- freefilesync/freefilesync.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/freefilesync/freefilesync.spec b/freefilesync/freefilesync.spec index 4355071..af2bad0 100644 --- a/freefilesync/freefilesync.spec +++ b/freefilesync/freefilesync.spec @@ -22,6 +22,10 @@ %define min_openssl >= 1.1.1k %endif %define libssh2_name libssh2 +# EL8 copr has some dnf module weirdness with libssh2, not a version problem. +%if 0%{?el6}%{?el7}%{?el8} +%define libssh2_name libssh2-freefilesync +%endif %if 0%{?fedora} >= 36 # https://www.spinics.net/lists/fedora-devel/msg296646.html # https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects @@ -85,10 +89,10 @@ BuildRequires: pkgconfig(giomm-2.4) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(zlib) -%if 0%{?el6}%{?el7} -BuildRequires: %{scl_buildreq} # We need the binary so we can check version number BuildRequires: openssl +%if 0%{?el6}%{?el7} +BuildRequires: %{scl_buildreq} %if "%{?min_openssl}" != "" BuildRequires: openssl-%{name}-devel %{min_openssl} %else -- cgit