summaryrefslogtreecommitdiff
path: root/freefilesync
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2022-06-08 09:07:05 -0400
committerB Stack <bgstack15@gmail.com>2022-06-08 09:07:05 -0400
commita123fe4a199e4dd2061d77192a5d47b092c47dc5 (patch)
tree1a295fb4ed101147f23ada9eeadeabe1e56762cd /freefilesync
parentffs: switch openssl check to sh instead of rpm macro (diff)
downloadstackrpms-a123fe4a199e4dd2061d77192a5d47b092c47dc5.tar.gz
stackrpms-a123fe4a199e4dd2061d77192a5d47b092c47dc5.tar.bz2
stackrpms-a123fe4a199e4dd2061d77192a5d47b092c47dc5.zip
ffs: use libssh2-ffs on el8
Diffstat (limited to 'freefilesync')
-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