[packages/libglib-testing] Up to 0.2.0

arekm arekm at pld-linux.org
Thu Nov 26 09:04:43 CET 2026


commit d02ae538b745da228eca69497f3eebb3f9d61939
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 01:42:20 2026 +0100

    Up to 0.2.0

 libglib-testing.spec | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/libglib-testing.spec b/libglib-testing.spec
index ecca569..b5fbc18 100644
--- a/libglib-testing.spec
+++ b/libglib-testing.spec
@@ -1,19 +1,21 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# static library
+%bcond_without	tests		# unit tests
 #
 Summary:	Test harnesses and mock classes for GLib
 Summary(pl.UTF-8):	Osprzęt testowy i klasy atrap dla GLiba
 Name:		libglib-testing
-Version:	0.1.1
+Version:	0.2.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://gitlab.gnome.org/pwithnall/libglib-testing/-/tags
 Source0:	https://gitlab.gnome.org/pwithnall/libglib-testing/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	99a196d66a49619dd698d49a304c1ba6
+# Source0-md5:	c2e1304c950048e49368da3ba5477ed6
 URL:		https://gitlab.gnome.org/pwithnall/libglib-testing
-BuildRequires:	glib2-devel >= 1:2.44
+# dbus-queue.c uses g_autofd (glib 2.76); meson.build still declares 2.44
+BuildRequires:	glib2-devel >= 1:2.76
 BuildRequires:	gtk-doc
 BuildRequires:	meson >= 0.45.0
 BuildRequires:	ninja >= 1.5
@@ -80,6 +82,10 @@ Dokumentacja API biblioteki glib-testing.
 
 %meson_build -C build
 
+%if %{with tests}
+%meson_test -C build
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libglib-testing.git/commitdiff/d02ae538b745da228eca69497f3eebb3f9d61939



More information about the pld-cvs-commit mailing list