diff --git a/_service b/_service
new file mode 100644
index 0000000..03c8509
--- /dev/null
+++ b/_service
@@ -0,0 +1,19 @@
+
+
+
+ git
+ https://gitlab.gnome.org/GNOME/sysprof.git
+ 47.0
+ @PARENT_TAG@+@TAG_OFFSET@
+ v?(.*)\+0
+ \1
+
+
+
+
+ *.tar
+ zst
+
+
+
+
diff --git a/sysprof-45.1.tar.xz b/sysprof-45.1.tar.xz
deleted file mode 100644
index 6a7fd39..0000000
--- a/sysprof-45.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:323bb9d585613d60c439460331450011f2b90b3d5272625bd858da4c19df2cf9
-size 1152148
diff --git a/sysprof-47.0.obscpio b/sysprof-47.0.obscpio
new file mode 100644
index 0000000..f5b2edf
--- /dev/null
+++ b/sysprof-47.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:390d033ee2b5d63a99d4829ef10d66c59041606e2cb1e50c48af34fb6947f2ba
+size 7115277
diff --git a/sysprof.changes b/sysprof.changes
index d02297d..d9be4f5 100644
--- a/sysprof.changes
+++ b/sysprof.changes
@@ -1,3 +1,66 @@
+-------------------------------------------------------------------
+Tue Sep 17 07:10:11 UTC 2024 - Bjørn Lie
+
+- Update to version 47.0:
+ + Speed up capture loading using gtk_tim_sort().
+ + Speed up capture loading using a private bump allocator for
+ callgraph nodes.
+ + Use AdwAboutDialog.
+ + Add GIO and Mutter to graphics section.
+ + Fix use of tracefd on some child processes.
+ + Fix some use of blocking FDs.
+ + Collapse some recursive functions in callgraphs.
+ + Improve styling of waterfall labels.
+ + Allow polkit to be optional in some situations.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Jul 17 16:47:17 UTC 2024 - Bjørn Lie
+
+- Replace obsolete update-desktop-files BuildRequires and macro
+ with desktop-file-utils BuildRequires.
+
+-------------------------------------------------------------------
+Sat Mar 16 09:24:18 UTC 2024 - Dominique Leuenberger
+
+- Update to version 46.0:
+ + Flamegraph and callgraph colorization improvements.
+ + Fix graphics page for GTK counters.
+ + Fix missing summary icon.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Mar 4 08:38:17 UTC 2024 - Dominique Leuenberger
+
+- Update to version 46.rc:
+ + Avoid C99 restrict keyword when using C++.
+ + Add --monitor-bus option to sysprof-cli to record bus address.
+ + Fix compiler warning on integer comparison.
+
+-------------------------------------------------------------------
+Mon Feb 19 17:39:13 UTC 2024 - Dominique Leuenberger
+
+- Update to version 46.beta:
+ + Rust and C++ demangler improvements.
+ + Protection against extremely large mark collections.
+ + Various fixes for parsing certain load bearing /proc files.
+ + Improved stack trace categorization.
+ + Fix use of pointer cursor.
+
+-------------------------------------------------------------------
+Wed Feb 7 09:46:20 UTC 2024 - Dominique Leuenberger
+
+- Update to version 45.2:
+ + Sample items in mark chart rows to reduce chances of
+ overflowing Open GL maximum VBO size.
+ + Fix parsing of /proc/$pid/maps by being more lenient in what is
+ accepted device numbers. This fixes some unwindable stack
+ tracess
+ + Update categories that are highlighted.
+ + Be more defensive when cleaning up view models to reduce
+ chances of cuausing issues with GtkExpression.
+ + Updated translations.
+
-------------------------------------------------------------------
Wed Jan 17 12:28:01 UTC 2024 - Dominique Leuenberger
diff --git a/sysprof.obsinfo b/sysprof.obsinfo
new file mode 100644
index 0000000..935041b
--- /dev/null
+++ b/sysprof.obsinfo
@@ -0,0 +1,4 @@
+name: sysprof
+version: 47.0
+mtime: 1726280893
+commit: 5513868c49b54151b1df3f752a210709322e630c
diff --git a/sysprof.spec b/sysprof.spec
index 53f5364..dfcbf75 100644
--- a/sysprof.spec
+++ b/sysprof.spec
@@ -22,13 +22,13 @@
%define glib_version 2.76.0
Name: sysprof
-Version: 45.1
+Version: 47.0
Release: 0
Summary: A system-wide Linux profiler
License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Development/Tools/Debuggers
URL: https://wiki.gnome.org/Apps/Sysprof
-Source0: https://download.gnome.org/sources/sysprof/45/sysprof-%{version}.tar.xz
+Source0: sysprof-%{version}.tar.zst
Patch0: harden_sysprof3.service.patch
Patch1: explicitly-include-unistd.patch
@@ -37,12 +37,12 @@ BuildRequires: c++_compiler
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
+BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: itstool
BuildRequires: meson >= 0.59.0
BuildRequires: pkgconfig
-BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
@@ -96,7 +96,7 @@ applications that use %{name}.
%lang_package
%prep
-%setup -q -n sysprof-%{version}
+%autosetup -N -n sysprof-%{version}
%patch -P 0 -p1
%if 0%{?sle_version} && 0%{?sle_version} < 160000
%patch -P 1 -p1
@@ -113,7 +113,6 @@ export CXX=g++-11
%install
%meson_install
-%suse_update_desktop_file org.gnome.Sysprof Profiling
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}