diff --git a/_service b/_service
index 9358baf..471a5cb 100644
--- a/_service
+++ b/_service
@@ -1,20 +1,20 @@
-
+
git
https://gitlab.gnome.org/GNOME/pangomm.git
- refs/tags/2.50.0
+ refs/tags/2.50.1
@PARENT_TAG@+@TAG_OFFSET@
(.*)\+0
\1
- enable
+
*.tar
xz
-
+
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index 9e8679d..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- https://gitlab.gnome.org/GNOME/pangomm.git
- cd00ba55a53b71a41fb566827db8b7d7c28c36b6
\ No newline at end of file
diff --git a/pangomm-2.50.0.obscpio b/pangomm-2.50.0.obscpio
deleted file mode 100644
index 3f7dfee..0000000
--- a/pangomm-2.50.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:26d14984746746e41067ebe3e046b61d74df3f892744e9c2923f7d77a0677d63
-size 1061388
diff --git a/pangomm-2.50.1.obscpio b/pangomm-2.50.1.obscpio
new file mode 100644
index 0000000..725b5a9
--- /dev/null
+++ b/pangomm-2.50.1.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1bff7d9687d413ab46a6e297035dfeaef889f9a62fd4c19e114686a9f52a48fc
+size 1063948
diff --git a/pangomm.changes b/pangomm.changes
index f90cf05..50de657 100644
--- a/pangomm.changes
+++ b/pangomm.changes
@@ -1,3 +1,21 @@
+-------------------------------------------------------------------
+Wed Sep 21 15:14:25 UTC 2022 - Bjørn Lie
+
+- Update to version 2.50.1:
+ + Context::get_font_map(): Fix reference count.
+ + Build:
+ - Require Meson >= 0.55.0
+ - Meson build:
+ . Specify 'check' option in run_command(). Will be necessary
+ with future versions of Meson.
+ . Check if Perl is required for building documentation.
+ . Avoid unnecessary configuration warnings.
+ . Re-organize warning-related compiler flags for MSVC
+- Package -docs as noarch.
+- Move pangomm-doc Recommends from main package to -devel
+ sub-package.
+- Use ldconfig_scriptlets for post(un) handling.
+
-------------------------------------------------------------------
Wed Feb 9 20:38:02 UTC 2022 - Bjørn Lie
diff --git a/pangomm.obsinfo b/pangomm.obsinfo
index ad094ea..d11ba3f 100644
--- a/pangomm.obsinfo
+++ b/pangomm.obsinfo
@@ -1,4 +1,4 @@
name: pangomm
-version: 2.50.0
-mtime: 1638814514
-commit: cd00ba55a53b71a41fb566827db8b7d7c28c36b6
+version: 2.50.1
+mtime: 1663771576
+commit: 7083b4deaa6401bf1f5b771752a46632ecc8d303
diff --git a/pangomm.spec b/pangomm.spec
index 45390ce..1a7e67c 100644
--- a/pangomm.spec
+++ b/pangomm.spec
@@ -20,14 +20,14 @@
%define libname lib%{name}-2_48-1
Name: pangomm
-Version: 2.50.0
+Version: 2.50.1
Release: 0
Summary: C++ interface for pango
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-only
Group: Development/Libraries/C and C++
URL: https://www.gtkmm.org
# Source0 disabled, we are using source service
-#Source0: https://download.gnome.org/sources/%%{name}/%%{base_ver}/%%{name}-%%{version}.tar.xz
+#Source0: https://download.gnome.org/sources/%%{name}/2.50/%%{name}-%%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM pangomm-docs-without-timestamp.patch -- Do not add timestamp to generated doc files.
Patch0: pangomm-docs-without-timestamp.patch
@@ -36,18 +36,18 @@ BuildRequires: c++_compiler
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: graphviz
-BuildRequires: meson
# m4, mm-common and perl(XML::Parser) only needed due to git-checkout
BuildRequires: m4
BuildRequires: mm-common
+BuildRequires: perl(XML::Parser)
+#
+BuildRequires: meson >= 0.55.0
BuildRequires: pkgconfig
BuildRequires: xsltproc
-BuildRequires: perl(XML::Parser)
BuildRequires: pkgconfig(cairomm-1.16) >= 1.2.2
BuildRequires: pkgconfig(giomm-2.68)
BuildRequires: pkgconfig(glibmm-2.68)
BuildRequires: pkgconfig(pangocairo) >= 1.31.0
-Recommends: %{name}-doc = %{version}
%description
pangomm provides a C++ interface to the pango library.
@@ -65,6 +65,7 @@ Summary: Development files for pangomm, a C++ API for Pango
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: %{libname} >= %{version}
+Recommends: %{name}-doc = %{version}
%description devel
pangomm provides a C++ interface to the pango library.
@@ -73,6 +74,7 @@ pangomm provides a C++ interface to the pango library.
Summary: Developer documentation for pangomm, a C++ interface for Pango
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Documentation/HTML
+BuildArch: noarch
%description doc
pangomm provides a C++ interface to the pango library.
@@ -91,10 +93,9 @@ chmod -x NEWS
%install
%meson_install
-%fdupes %{buildroot}/%{_prefix}
+%fdupes %{buildroot}%{_prefix}
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%license COPYING
@@ -109,7 +110,7 @@ chmod -x NEWS
%{_libdir}/pangomm-%{base_ver}
%files doc
-%doc AUTHORS README
+%doc AUTHORS README.md
%{_datadir}/devhelp/books/pangomm-%{base_ver}/
%{_datadir}/doc/pangomm-%{base_ver}/
# Avoid BuildRequires on devhelp