%global commit a2b7feff7566658f0497eba1603457ce3653d490 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapdate 20260425 Name: flux-wrappers Version: 0.1 Release: 1.%{snapdate}git%{shortcommit}%{?dist} Summary: Slurm commands translated to Flux License: LGPL-3.0-or-later URL: https://github.com/flux-framework/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildArch: noarch %define debug_package %{nil} Requires: flux-core Requires: perl-interpreter Requires: python3 Conflicts: slurm %description The flux-wrappers are a set of wrapper scripts that translate Slurm and other resource manager commands and flags into their equivalent Flux commands. %prep %autosetup -n %{name}-%{commit} %build %install install -d %{buildroot}%{_bindir} install -m 0755 src/slurm2flux.pl %{buildroot}%{_bindir}/slurm2flux install -m 0755 src/fsqueue.py %{buildroot}%{_bindir}/squeue install -m 0755 src/fshowq.py %{buildroot}%{_bindir}/showq install -m 0755 src/fscancel.py %{buildroot}%{_bindir}/scancel install -m 0755 src/fsinfo.pl %{buildroot}%{_bindir}/sinfo ln %{buildroot}%{_bindir}/slurm2flux %{buildroot}%{_bindir}/srun ln %{buildroot}%{_bindir}/slurm2flux %{buildroot}%{_bindir}/sbatch ln %{buildroot}%{_bindir}/slurm2flux %{buildroot}%{_bindir}/salloc %files %license LICENSE %doc README.md %{_bindir}/slurm2flux %{_bindir}/squeue %{_bindir}/showq %{_bindir}/scancel %{_bindir}/sinfo %{_bindir}/srun %{_bindir}/sbatch %{_bindir}/salloc %changelog * Sat Apr 25 2026 Yuki Yamaura - 0.1-1.20260425gita2b7fef - Initial copr packaging from git snapshot a2b7fef