[packages/gupnp] - updated to 1.2.7 - removed obsolete format patch

qboosh qboosh at pld-linux.org
Mon Jun 7 22:04:55 CEST 2021


commit e5d575d63683413fa289178d1949a1d0a11ac528
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 7 22:07:36 2021 +0200

    - updated to 1.2.7
    - removed obsolete format patch

 gupnp-format.patch | 29 -----------------------------
 gupnp.spec         | 12 +++++-------
 2 files changed, 5 insertions(+), 36 deletions(-)
---
diff --git a/gupnp.spec b/gupnp.spec
index 7a97e91..007b2b4 100644
--- a/gupnp.spec
+++ b/gupnp.spec
@@ -6,17 +6,16 @@ Summary:	UPnP library based on GObject and libsoup
 Summary(pl.UTF-8):	Biblioteka UPnP oparta na bibliotekach GObject i libsoup
 Name:		gupnp
 # note: 1.2.x is stable, 1.3.x unstable
-Version:	1.2.6
+Version:	1.2.7
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://download.gnome.org/sources/gupnp/1.2/%{name}-%{version}.tar.xz
-# Source0-md5:	88ed75784b63e6e5a7df863b3b8afb12
-Patch0:		%{name}-format.patch
+# Source0-md5:	850a2d879e58aed634158360f68a9f75
 URL:		https://wiki.gnome.org/Projects/GUPnP
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	docbook-dtd44-xml
-BuildRequires:	glib2-devel >= 1:2.58
+BuildRequires:	glib2-devel >= 1:2.66
 BuildRequires:	gobject-introspection-devel >= 1.36.0
 BuildRequires:	gssdp-devel >= 1.2.3
 BuildRequires:	gtk-doc >= 1.14
@@ -33,7 +32,7 @@ BuildRequires:	tar >= 1:1.22
 %{?with_vala:BuildRequires:	vala >= 2:0.20}
 %{?with_vala:BuildRequires:	vala-gssdp >= 1.2.3}
 BuildRequires:	xz
-Requires:	glib2 >= 1:2.58
+Requires:	glib2 >= 1:2.66
 Requires:	gssdp >= 1.2.3
 Requires:	libsoup >= 2.48.0
 Requires:	libuuid >= 1.36
@@ -55,7 +54,7 @@ Summary:	Header files for gupnp
 Summary(pl.UTF-8):	Pliki nagłówkowe gupnp
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	glib2-devel >= 1:2.58
+Requires:	glib2-devel >= 1:2.66
 Requires:	gssdp-devel >= 1.2.3
 Requires:	libsoup-devel >= 2.48.0
 Requires:	libuuid-devel >= 1.36
@@ -111,7 +110,6 @@ API języka Vala dla biblioteki gupnp.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' tools/gupnp-binding-tool-1.2
 
diff --git a/gupnp-format.patch b/gupnp-format.patch
deleted file mode 100644
index a2dd725..0000000
--- a/gupnp-format.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- gupnp-1.2.6/examples/get-volume.c.orig	2021-05-24 16:34:52.798355300 +0200
-+++ gupnp-1.2.6/examples/get-volume.c	2021-05-30 09:12:04.462878396 +0200
-@@ -50,7 +50,7 @@
-                 &error);
- 
-         if (error != NULL) {
--                g_critical (error->message);
-+                g_critical ("%s", error->message);
-                 g_clear_error (&error);
-         }
- 
-@@ -111,7 +111,7 @@
-         g_list_free (out_names);
- 
-         if (error != NULL) {
--                g_critical (error->message);
-+                g_critical ("%s", error->message);
-                 g_clear_error (&error);
-         } else {
-                 g_print ("Current volume: %s\n",
-@@ -147,7 +147,7 @@
-         GUPnPContext *context = gupnp_context_new ("wlp3s0", 0, &error);
- 
-         if (error != NULL) {
--                g_error (error->message);
-+                g_error ("%s", error->message);
-         }
- 
-         GUPnPControlPoint *cp = gupnp_control_point_new (context, CONTENT_DIR);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gupnp.git/commitdiff/e5d575d63683413fa289178d1949a1d0a11ac528



More information about the pld-cvs-commit mailing list