Skip to content
Snippets Groups Projects
Verified Commit f02d0e90 authored by Dennis Klein's avatar Dennis Klein
Browse files

Update to 2.0.0

parent dd7254b6
No related branches found
No related tags found
No related merge requests found
......@@ -2,17 +2,17 @@
%global name_tag %{name}-v%{version}
Name: slurm-singularity-exec
Version: 1.0.0
Version: 2.0.0
Release: %autorelease
Summary: Slurm SPANK plugin to start Singularity/Apptainer containers
License: GPLv3
Source0: https://git.gsi.de/SDE/%{name}/-/archive/%{tag}/%{name_tag}.tar.bz2
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libstdc++-static
BuildRequires: make
BuildRequires: slurm-devel
Requires: apptainer
......@@ -29,23 +29,16 @@ the cluster administrator.
%autosetup -n %{name_tag}
%build
make
%clean
rm -rf %{buildroot}
%cmake -D INSTALL_PLUGSTACK_CONF=ON
%cmake_build
%install
install -p -m 0644 -D singularity-exec.so \
%{buildroot}/%{_libdir}/slurm/singularity-exec.so
install -p -m 0644 -D slurm-singularity-wrapper.sh \
%{buildroot}/%{_libexecdir}/slurm-singularity-wrapper.sh
install -p -m 0644 -D singularity-exec.conf \
%{buildroot}/%{_docdir}/%{name}/singularity-exec.conf
%cmake_install
%files
%{_libdir}/slurm/singularity-exec.so
%{_libexecdir}/slurm-singularity-exec.so
%{_libexecdir}/slurm-singularity-wrapper.sh
%{_docdir}/%{name}/singularity-exec.conf
%config(noreplace) %{_sysconfdir}/slurm/plugstack.conf.d/singularity-exec.conf
%license LICENSE
%doc README.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment