From 5805cd2899e49423745819e36b46bee1434bea0b Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sep 07 2020 10:17:40 +0000 Subject: Fix FTBFS --- diff --git a/remmina.spec b/remmina.spec index 70d8012..b79f73d 100644 --- a/remmina.spec +++ b/remmina.spec @@ -2,7 +2,7 @@ Name: remmina Version: 1.4.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Remote Desktop Client License: GPLv2+ and MIT URL: http://remmina.org @@ -254,11 +254,7 @@ export CFLAGS="%{optflags} -I%{_includedir}/harfbuzz" export CFLAGS="%{optflags} -std=gnu99" %endif -%if 0%{?fedora} || 0%{?rhel} >= 8 -%cmake --build=build \ -%else -%cmake3 --build=build \ -%endif +%cmake \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DWITH_APPINDICATOR=ON \ @@ -270,13 +266,12 @@ export CFLAGS="%{optflags} -std=gnu99" -DWITH_LIBSSH=ON \ -DWITH_SPICE=ON \ -DWITH_TELEPATHY=OFF \ - -DWITH_VTE=ON \ - . + -DWITH_VTE=ON -%make_build +%cmake_build %install -%make_install +%cmake_install mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}/ cp -pr cmake/*.cmake %{buildroot}/%{_libdir}/cmake/%{name}/ @@ -362,6 +357,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat %{_mandir}/man1/remmina-gnome.1.* %changelog +* Mon Sep 07 2020 Than Ngo - 1.4.7-4 +- Fix FTBFS + * Sat Aug 01 2020 Fedora Release Engineering - 1.4.7-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild