From: Marcin Krol Date: Sun, 18 Aug 2019 13:02:59 +0000 (+0200) Subject: - fix building with vala >= 0.42 X-Git-Tag: auto/th/libgnome-keyring-3.12.0-5 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=655ae0d75bb2b7e8a8c22eaa6f5c1eee5040ca1e;p=packages%2Flibgnome-keyring.git - fix building with vala >= 0.42 --- diff --git a/libgnome-keyring-vala.patch b/libgnome-keyring-vala.patch new file mode 100644 index 0000000..685ea64 --- /dev/null +++ b/libgnome-keyring-vala.patch @@ -0,0 +1,12 @@ +diff -ur libgnome-keyring-3.12.0.orig/library/GnomeKeyring-1.0.metadata libgnome-keyring-3.12.0/library/GnomeKeyring-1.0.metadata +--- libgnome-keyring-3.12.0.orig/library/GnomeKeyring-1.0.metadata 2014-01-16 19:28:19.000000000 +0100 ++++ libgnome-keyring-3.12.0/library/GnomeKeyring-1.0.metadata 2019-08-18 15:01:22.392000000 +0200 +@@ -54,7 +54,7 @@ + set_network_password skip=false + store_password skip=false + store_password_sync skip=false +-unlock skip=false ++@unlock skip=false + + find_items*.callback type_arguments="GnomeKeyring.Found" + find_network_password*.callback type_arguments="GnomeKeyring.NetworkPasswordData" diff --git a/libgnome-keyring.spec b/libgnome-keyring.spec index 7fa5334..a2601d2 100644 --- a/libgnome-keyring.spec +++ b/libgnome-keyring.spec @@ -7,11 +7,12 @@ Summary: libgnome-keyring library Summary(pl.UTF-8): Biblioteka libgnome-keyring Name: libgnome-keyring Version: 3.12.0 -Release: 4 +Release: 5 License: LGPL v2+ Group: Libraries Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnome-keyring/3.12/%{name}-%{version}.tar.xz # Source0-md5: 6696e4f2e9aed4625cdc3af30bd8c238 +Patch0: %{name}-vala.patch URL: http://live.gnome.org/GnomeKeyring BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -91,6 +92,7 @@ API libgnome-keyring dla języka Vala. %prep %setup -q +%patch0 -p1 %build %{?with_apidocs:%{__gtkdocize}}