[packages/libshumate] - switched default to libsoup3 to match libgweather4 in gnome-maps; release 2

qboosh qboosh at pld-linux.org
Wed Jul 26 21:35:25 CEST 2023


commit 931f4e9a32f9c0d7bf4d8fa37ece0ff3d9ff47e1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 26 21:23:42 2023 +0200

    - switched default to libsoup3 to match libgweather4 in gnome-maps; release 2

 libshumate.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/libshumate.spec b/libshumate.spec
index 4253d5d..8b8928e 100644
--- a/libshumate.spec
+++ b/libshumate.spec
@@ -1,13 +1,13 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# API docs
-%bcond_with	libsoup3	# libsoup3 instead of libsoup 2.x
+%bcond_with	libsoup2	# libsoup2 instead of libsoup3 (must match libgweather4)
 
 Summary:	Map widget for GTK 4
 Summary(pl.UTF-8):	Widżet mapy dla GTK 4
 Name:		libshumate
 Version:	1.0.5
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.gnome.org/sources/libshumate/1.0/%{name}-%{version}.tar.xz
@@ -21,8 +21,8 @@ BuildRequires:	gtk4-devel >= 4
 BuildRequires:	json-glib-devel >= 1.6
 BuildRequires:	meson >= 0.53.0
 BuildRequires:	ninja >= 1.5
-%{!?with_libsoup3:BuildRequires:	libsoup-devel >= 2.42}
-%{?with_libsoup3:BuildRequires:	libsoup3-devel >= 3.0}
+%{?with_libsoup2:BuildRequires:	libsoup-devel >= 2.42}
+%{!?with_libsoup2:BuildRequires:	libsoup3-devel >= 3.0}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	sqlite3-devel >= 3.0
 BuildRequires:	vala >= 0.11.0
@@ -31,8 +31,8 @@ BuildRequires:	xz
 Requires:	cairo >= 1.4
 Requires:	glib2 >= 1:2.68.0
 Requires:	json-glib >= 1.6
-%{!?with_libsoup3:Requires:	libsoup >= 2.42}
-%{?with_libsoup3:Requires:	libsoup3 >= 3.0}
+%{?with_libsoup2:Requires:	libsoup >= 2.42}
+%{!?with_libsoup2:Requires:	libsoup3 >= 3.0}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,8 +49,8 @@ Requires:	%{name} = %{version}-%{release}
 Requires:	cairo-devel >= 1.4
 Requires:	glib2-devel >= 1:2.68.0
 Requires:	gtk4-devel >= 4
-%{!?with_libsoup3:Requires:	libsoup-devel >= 2.42}
-%{?with_libsoup3:Requires:	libsoup3-devel >= 3.0}
+%{?with_libsoup2:Requires:	libsoup-devel >= 2.42}
+%{!?with_libsoup2:Requires:	libsoup3-devel >= 3.0}
 Requires:	sqlite3-devel >= 3.0
 
 %description devel
@@ -104,7 +104,7 @@ API libshumate dla języka Vala.
 %build
 %meson build \
 	%{!?with_apidocs:-Dgtk_doc=false} \
-	%{!?with_libsoup3:-Dlibsoup3=false}
+	%{?with_libsoup2:-Dlibsoup3=false}
 
 %ninja_build -C build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libshumate.git/commitdiff/931f4e9a32f9c0d7bf4d8fa37ece0ff3d9ff47e1



More information about the pld-cvs-commit mailing list