summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--freefilesync/freefilesync.spec8
1 files 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
bgstack15