diff --git a/_service b/_service
index dff2336..94d0284 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/Syllo/nvtop.git
git
enable
- master
+ 3.1.0
enable
malcolmlewis@opensuse.org
nvtop
diff --git a/_servicedata b/_servicedata
index 16b63fb..3e8e272 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/Syllo/nvtop.git
- 45a1796375cd617d16167869bb88e5e69c809468
\ No newline at end of file
+ 7906a062c76f498cbfeea5b312ee1baa765f56d2
\ No newline at end of file
diff --git a/nvtop-3.0.2+31.obscpio b/nvtop-3.0.2+31.obscpio
deleted file mode 100644
index a5c7e57..0000000
--- a/nvtop-3.0.2+31.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0429e650886bf2effe08a1d5cebc34ba8ff70be5d17167845bfb824050a2c05f
-size 764428
diff --git a/nvtop-3.1.0.obscpio b/nvtop-3.1.0.obscpio
new file mode 100644
index 0000000..569949b
--- /dev/null
+++ b/nvtop-3.1.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0c23f2f3860a209ce8f6f1c39c5f2c6a17177c2e872d1e4564b6194e90c04665
+size 881164
diff --git a/nvtop-3.1.0.tar.xz b/nvtop-3.1.0.tar.xz
new file mode 100644
index 0000000..d049fc4
--- /dev/null
+++ b/nvtop-3.1.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0bc618de9dd4178eec2cbf8fb2a43fe1c0da4f66b9446dfe63ef644392d2b971
+size 232684
diff --git a/nvtop.changes b/nvtop.changes
index e75406e..271afa9 100644
--- a/nvtop.changes
+++ b/nvtop.changes
@@ -1,3 +1,28 @@
+-------------------------------------------------------------------
+Fri Apr 12 13:07:30 UTC 2024 - Andrea Manzini
+
+- Update to version 3.1.0:
+ * MSM: Ignore speedbin in id if exact id isn't found
+ * Add support for Adreno 750
+ * Fix save w/o config location path
+ * interface_options: handle both XDG_CONFIG_HOME and HOME being unset
+ * Prevent potential Ascend device name buffer overflow
+ * remove temp file
+ * fix issues for PR
+ * Toggle Panfrost's sysfs profiling hook after DRM handle is retrieved
+ * add ascend build script and README
+ * add ascend extract gpu info code
+ * GPU info bar option in F2 menu
+ * Save GPU info bar option to config file
+ * Fix related to pull request #248
+ * Refactor Panthor and Panfrost into library of shared code
+ * Add support for Mali CSF GPUs with the Panthor driver.
+ * Add Panfrost support for manual calculation of engine utilisation
+ * Add support for post-fdinfo processing calculation of utilisation
+ * Add support for Panfrost display of additional GPU properties
+ * Add display of additional GPU features
+ * Add support for Mali GPUs with the Panfrost driver
+
-------------------------------------------------------------------
Wed Oct 25 02:13:50 UTC 2023 - malcolmlewis@opensuse.org
diff --git a/nvtop.obsinfo b/nvtop.obsinfo
index fa4bbb5..3e493f7 100644
--- a/nvtop.obsinfo
+++ b/nvtop.obsinfo
@@ -1,4 +1,4 @@
name: nvtop
-version: 3.0.2+31
-mtime: 1697900274
-commit: 45a1796375cd617d16167869bb88e5e69c809468
+version: 3.1.0
+mtime: 1708699316
+commit: 7906a062c76f498cbfeea5b312ee1baa765f56d2
diff --git a/nvtop.spec b/nvtop.spec
index 56d7f4e..703ca3b 100644
--- a/nvtop.spec
+++ b/nvtop.spec
@@ -1,7 +1,7 @@
#
# spec file for package nvtop
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2020-2023 Malcolm J Lewis
#
# All modifications and additions to the file contributed by third parties
@@ -18,15 +18,16 @@
Name: nvtop
-Version: 3.0.2+31
+Version: 3.1.0
Release: 0
-License: GPL-3.0-or-later
Summary: A (h)top like task monitor for NVIDIA and AMD GPUs
+License: GPL-3.0-or-later
URL: https://github.com/Syllo/nvtop
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
+BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libudev)
@@ -46,7 +47,7 @@ way.
%build
%cmake -DCMAKE_BUILD_TYPE=Release \
-DNVML_RETRIEVE_HEADER_ONLINE=True
-make %{?_smp_mflags}
+%make_build
%install
%cmake_install