Name: flux-sched Version: 0.50.0 Release: 1%{?dist} Summary: Fluxion graph-based scheduler for Flux License: LGPL-3.0-or-later URL: https://github.com/flux-framework/%{name} Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz %define debug_package %{nil} %define __spec_install_post /usr/lib/rpm/brp-compress || : %global __requires_exclude ^/bin/false$ ExcludeArch: ppc64le # flux family BuildRequires: flux-core >= 0.49.0 Requires: flux-core >= 0.49.0 # toolchain (mirrors upstream debian/control) %if 0%{?rhel} < 10 # EL9 ships gcc 11; flux-sched requires gcc >= 12. Use gcc-toolset-13 only # at build time. The resulting binaries link against system libstdc++ so # no SCL runtime dependency is needed (autoreq picks up the right libstdc++). BuildRequires: gcc-toolset-13 BuildRequires: gcc-toolset-13-libstdc++-devel %else BuildRequires: gcc BuildRequires: gcc-c++ %endif BuildRequires: make BuildRequires: cmake >= 3.18 BuildRequires: pkgconfig # libraries BuildRequires: hwloc-devel BuildRequires: libedit-devel BuildRequires: yaml-cpp-devel BuildRequires: boost-devel BuildRequires: python3-devel BuildRequires: python3-pyyaml BuildRequires: python3-jsonschema BuildRequires: pkgconfig(jansson) >= 2.10 BuildRequires: libuuid-devel BuildRequires: jq %description flux-sched contains the Fluxion graph-based scheduler for the Flux Resource Manager Framework. It consists of the sched-fluxion-resource and sched-fluxion-qmanager modules which handle graph-based resource matching and queue management services, respectively. %prep %autosetup -p1 -n %{name}-%{version} %build %if 0%{?rhel} < 10 . /opt/rh/gcc-toolset-13/enable %endif %cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} %cmake_build %install %cmake_install find %{buildroot} -name '*.la' -delete %files %defattr(-,root,root,-) # rc1/rc3 fluxion startup scripts (legacy interface) %{_sysconfdir}/flux/rc1.d/01-sched-fluxion %{_sysconfdir}/flux/rc3.d/01-sched-fluxion # modprobe-based startup (flux-core 0.84+) %{_sysconfdir}/flux/modprobe/rc1.d/fluxion.py %{_sysconfdir}/flux/modprobe/modprobe.d/fluxion.toml # fluxion broker modules %{_libdir}/flux/modules/sched-fluxion-qmanager.so %{_libdir}/flux/modules/sched-fluxion-resource.so %{_libdir}/flux/modules/sched-fluxion-feasibility.so # fluxion shared libs %{_libdir}/flux/libreapi_cli.so %{_libdir}/libsched-fluxion-resource-module.so %{_libdir}/libfluxion-data.so.* # flux-ion-* commands %{_libexecdir}/flux/cmd/flux-ion-R.py %{_libexecdir}/flux/cmd/flux-ion-resource.py # python bindings %{python3_sitelib}/fluxion/ %{_libdir}/flux/python%{python3_version}/fluxion %changelog * Sat Apr 25 2026 Yuki Yamaura - 0.50.0-1 - Update to flux-sched v0.50.0 - Align BuildRequires with upstream debian/control - Drop obsolete libzmq/libczmq/jansson/libxml2/libuuid/python3-{yaml,jsonschema,sphinx,six,cffi,devel} - Drop gcc-toolset-12 (use system gcc), aspell, gdb, etc. (test-only) - Use %%cmake / %%cmake_build / %%cmake_install macros - Add modprobe-based fluxion startup files (flux-core 0.84+) - Drop legacy %%clean section - License updated to LGPL-3.0-or-later (SPDX) * Thu Jul 17 2025 Yuki Yamaura 0.45.0-1 - Bump release to flux-sched v0.45.0 * Tue Feb 14 2023 Mark A. Grondona 0.26.0-2 - Apply performance fixes from PR #1007 * Wed Feb 8 2023 Mark A. Grondona 0.26.0-1 - Bump release to flux-sched v0.26.0 - Update flux-core requires to v0.47.0