diff --git a/ServiceProxy-Remove-bogos-function-rename.patch b/ServiceProxy-Remove-bogos-function-rename.patch new file mode 100644 index 0000000..4dcb154 --- /dev/null +++ b/ServiceProxy-Remove-bogos-function-rename.patch @@ -0,0 +1,29 @@ +From 1ffff315ca395a549702b203cfac8410a3afc560 Mon Sep 17 00:00:00 2001 +From: Jens Georg +Date: Sun, 14 Feb 2021 15:43:32 +0100 +Subject: [PATCH] ServiceProxy: Remove bogos function rename + +Leftover from when this function was called +gupnp_service_proxy_send_action_list_gi + +Fixes #23 +--- + libgupnp/gupnp-service-proxy.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c +index 8720ce6..cec7c8a 100644 +--- a/libgupnp/gupnp-service-proxy.c ++++ b/libgupnp/gupnp-service-proxy.c +@@ -481,7 +481,7 @@ out: + } + + /** +- * gupnp_service_proxy_send_action_list: (rename-to gupnp_service_proxy_send_action_list) ++ * gupnp_service_proxy_send_action_list: + * @proxy: (transfer none) : A #GUPnPServiceProxy + * @action: An action + * @in_names: (element-type utf8) (transfer none): #GList of 'in' parameter +-- +2.27.0 + diff --git a/gupnp.spec b/gupnp.spec index 3e51dd3..01a8c17 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -1,11 +1,12 @@ Name: gupnp Version: 1.2.4 -Release: 1 +Release: 2 Summary: UPnP devices & control points creation framework License: LGPLv2+ URL: http://www.gupnp.org/ Source0: http://download.gnome.org/sources/%{name}/1.2/%{name}-%{version}.tar.xz Patch0: CVE-2021-33516.patch +Patch1: ServiceProxy-Remove-bogos-function-rename.patch BuildRequires: gssdp-devel >= 1.2.3 gtk-doc gobject-introspection-devel >= 1.36 BuildRequires: libsoup-devel libxml2-devel libuuid-devel vala meson @@ -74,6 +75,9 @@ This package contains help file and developer documentation for gupnp. %{_mandir}/man1/gupnp-binding-tool-* %changelog +* Fri Oct 20 2023 fandehui - 1.2.4-2 +- ServiceProxy: Remove bogos function rename + * Mon Jun 7 2021 weijin deng - 1.2.4-1 - Upgrade to 1.2.4 - Update Version, Release, Source0, BuildRequires