From 104b190970e7084cb0bc65adeebac2bb2bf7e64c Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 9 Oct 2019 17:30:27 -0400 Subject: WIP: ffs for el8 rc1 --- freefilesync/freefilesync.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'freefilesync') diff --git a/freefilesync/freefilesync.spec b/freefilesync/freefilesync.spec index 7ccfb22..7b7cc80 100644 --- a/freefilesync/freefilesync.spec +++ b/freefilesync/freefilesync.spec @@ -13,9 +13,13 @@ %define min_libssh2 >= 1.8.0 %define min_openssl >= 1.1.1c %endif +%define libssh2_name libssh2 +%if 0%{?rhel} >= 8 +%define libssh2_name libssh2-%{name} +%endif Name: freefilesync Version: 10.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A file synchronization utility Group: Applications/File @@ -42,7 +46,7 @@ BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: ImageMagick BuildRequires: libcurl-devel %{min_libcurl} -BuildRequires: libssh2-devel %{min_libssh2} +BuildRequires: %{libssh2_name}-devel %{min_libssh2} BuildRequires: patch BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libselinux) @@ -52,7 +56,7 @@ BuildRequires: wxGTK-devel BuildRequires: %{scl_buildreq} BuildRequires: openssl-%{name}-devel %{min_openssl} Requires: libcurl %{min_libcurl} -Requires: libssh2 %{min_libssh2} +Requires: %{libssh2_name} %{min_libssh2} Requires: openssl-%{name}-libs %{min_openssl} %else BuildRequires: openssl-devel @@ -190,6 +194,9 @@ update-mime-database -n ${_datadir}/mime 1>/dev/null 2>&1 & : %ghost %config %attr(666, -, -) %{_datadir}/%{name}/GlobalSettings.xml %changelog +* Wed Oct 09 2019 B Stack - 10.16-2 +- include support for el8 + * Tue Sep 17 2019 B Stack - 10.16-1 - version bump -- cgit