From 4dcac44db76c7950e889e9a5e0f10d358d496ccf Mon Sep 17 00:00:00 2001
From: Dennis Klein <d.klein@gsi.de>
Date: Tue, 27 Feb 2024 17:16:46 +0100
Subject: [PATCH] Update to 3.0.0

---
 slurm-singularity-exec.spec | 8 +++-----
 sources                     | 1 +
 2 files changed, 4 insertions(+), 5 deletions(-)
 create mode 100644 sources

diff --git a/slurm-singularity-exec.spec b/slurm-singularity-exec.spec
index 4167513..ce9ad8b 100644
--- a/slurm-singularity-exec.spec
+++ b/slurm-singularity-exec.spec
@@ -1,15 +1,13 @@
-%global tag v%{version}
-%global name_tag %{name}-v%{version}
 %global plugstack_conf_d /slurm/plugstack.conf.d
 
 Name:           slurm-singularity-exec
-Version:        2.0.0
+Version:        3.0.0
 Release:        %autorelease
 Epoch:          1
 Summary:        Slurm SPANK plugin to start Singularity/Apptainer containers
 
 License:        GPLv3
-Source0:        https://git.gsi.de/SDE/%{name}/-/archive/%{tag}/%{name_tag}.tar.bz2
+Source0:        https://github.com/GSI-HPC/%{name}/archive/refs/tags/v%{version}.tar.gz
 
 BuildRequires:  cmake
 BuildRequires:  gcc
@@ -28,7 +26,7 @@ then propagated to a shell script slurm-singularity-wrapper.sh customizable by
 the cluster administrator.
 
 %prep
-%autosetup -n %{name_tag}
+%autosetup
 
 %build
 %cmake -D INSTALL_PLUGSTACK_CONF=ON
diff --git a/sources b/sources
new file mode 100644
index 0000000..2819583
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (v3.0.0.tar.gz) = acd9512c91279dba1f5906647aa26da5f9ca71ee713b26a208fa9207cf9ebe18f7155224fe5f7981600f171b799d2ee52354843abb69597fe41835e97f493285
-- 
GitLab