%global commit bf96af511235b96553373986d75c7f291e808bda %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapdate 20260910 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 * Thu Sep 10 2026 Yuki Yamaura - 0.1-1.20260910gitbf96af5 - Update to git snapshot bf96af5 (sbatch --parsable, %%t in --output/--error, sinfo -v help text) * Sat Apr 25 2026 Yuki Yamaura - 0.1-1.20260425gita2b7fef - Initial copr packaging from git snapshot a2b7fef