From ac149fad14bc8a2a25df8da160f8b6261b9ff3b5 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Mar 07 2017 09:07:28 +0000 Subject: Tune compile options and use compatibility FreeRDP 1.2 package to fix FTBFS in rawhide --- diff --git a/vinagre.spec b/vinagre.spec index adeccc0..d25e57a 100644 --- a/vinagre.spec +++ b/vinagre.spec @@ -4,7 +4,7 @@ Name: vinagre Version: 3.22.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: VNC client for GNOME Group: Applications/System @@ -21,7 +21,11 @@ BuildRequires: pkgconfig(spice-client-gtk-3.0) %endif BuildRequires: pkgconfig(avahi-gobject) BuildRequires: pkgconfig(avahi-ui-gtk3) +%if 0%{?fedora} +BuildRequires: compat-freerdp12-devel +%else BuildRequires: pkgconfig(freerdp2) +%endif BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk-vnc-2.0) @@ -66,7 +70,7 @@ Apart from the VNC protocol, vinagre supports Spice and RDP. %build # copied from autogen.sh, needed for Patch0; drop when that is merged ACLOCAL_FLAGS="$ACLOCAL_FLAGS" USE_GNOME2_MACROS=1 . gnome-autogen.sh - +export CFLAGS="%{optflags} -Wno-deprecated-declarations -Wno-format-nonliteral" %configure \ %if 0%{?with_spice} --enable-spice \ @@ -121,6 +125,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Mar 02 2017 Simone Caronni - 3.22.0-3 +- Tune compile options and use compatibility FreeRDP 1.2 package to fix FTBFS + in rawhide. + * Sat Feb 11 2017 Fedora Release Engineering - 3.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild