public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Philip Kovacs <pkfed@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/slurm] epel10: Release of 20.11.6
Date: Wed, 22 Jul 2026 07:55:28 GMT [thread overview]
Message-ID: <178470692827.1.2774006855595211192.rpms-slurm-2b29bd330af9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/slurm
Branch : epel10
Commit : 2b29bd330af906bd16c57dd916ea8649a5ac572d
Author : Philip Kovacs <pkfed@fedoraproject.org>
Date : 2021-05-04T19:02:46-04:00
Stats : +40/-11 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/slurm/c/2b29bd330af906bd16c57dd916ea8649a5ac572d?branch=epel10
Log:
Release of 20.11.6
---
diff --git a/slurm.spec b/slurm.spec
index 6459e8e..b1dbfab 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -15,8 +15,8 @@
%endif
Name: slurm
-Version: 20.11.5
-Release: 2%{?dist}
+Version: 20.11.6
+Release: 1%{?dist}
Summary: Simple Linux Utility for Resource Management
License: GPLv2 and BSD
URL: https://slurm.schedmd.com/
@@ -50,7 +50,11 @@ BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-interpreter
BuildRequires: perl-macros
BuildRequires: perl-podlators
+%if !0%{?el7}
BuildRequires: pkgconf
+%else
+BuildRequires: pkgconfig
+%endif
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(lua)
BuildRequires: python3
@@ -73,16 +77,16 @@ BuildRequires: readline-devel
BuildRequires: rrdtool-devel
BuildRequires: zlib-devel
-%if %{with ucx}
+%if 0%{?fedora} && %{with ucx}
BuildRequires: ucx-devel
%endif
-# create slurm-slurmrestd package for Fedora >= 34
-%if 0%{fedora} >= 34
+# create slurm-slurmrestd package for Fedora >= 34 and EPEL7/8
+%if (0%{?fedora} >= 34) || 0%{?el7} || 0%{?el8}
BuildRequires: http-parser-devel
-BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libjwt)
-BuildRequires: pkgconfig(yaml-0.1)
+BuildRequires: json-c-devel
+BuildRequires: libjwt-devel
+BuildRequires: libyaml-devel
%endif
# exclude upstream-deprecated 32-bit architectures
@@ -91,7 +95,7 @@ ExcludeArch: i686
Requires: munge
Requires: pmix
-%if %{with ucx}
+%if 0%{?fedora} && %{with ucx}
Requires: ucx
%endif
%{?systemd_requires}
@@ -176,12 +180,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Slurm database daemon. Used to accept and process database RPCs and upload
database changes to slurmctld daemons on each cluster.
+%if (0%{?fedora} >= 34) || 0%{?el7} || 0%{?el8}
%package slurmrestd
Summary: Slurm REST API deamon
Requires: %{name}%{?_isa} = %{version}-%{release}
%description slurmrestd
Slurm REST API daemon. The slurmrestd daemon is designed to allow clients
to communicate with Slurm via a REST API.
+%endif
# -----------------
# Contribs Packages
@@ -259,7 +265,7 @@ export LDFLAGS="%{build_ldflags} -Wl,-z,lazy"
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir}/%{name} \
--with-pam_dir=%{_libdir}/security \
-%if %{with ucx}
+%if 0%{?fedora} && %{with ucx}
--with-ucx=%{_prefix} \
%endif
--enable-shared \
@@ -393,6 +399,10 @@ rm -f %{buildroot}%{_mandir}/man5/cray*
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
+%if 0%{?fedora} && (0%{?fedora} < 34)
+# remove unused slurmrestd service file
+rm -f %{buildroot}%{_unitdir}/slurmrestd.service
+%endif
%ldconfig_scriptlets devel
%ldconfig_scriptlets libs
@@ -539,6 +549,20 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_mandir}/man1/sview.1*
+%if 0%{?el7}
+%post gui
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun gui
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans gui
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+%endif
+
# ----------
# Slurm-libs
# ----------
@@ -612,6 +636,7 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
# Slurm-slurmrestd
# ----------------
+%if (0%{?fedora} >= 34) || 0%{?el7} || 0%{?el8}
%files slurmrestd
%{_libdir}/%{name}/auth_jwt.so
%{_libdir}/%{name}/openapi_dbv0_0_36.so
@@ -621,6 +646,7 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%{_libdir}/%{name}/rest_auth_local.so
%{_sbindir}/slurmrestd
%{_unitdir}/slurmrestd.service
+%endif
# --------------
# Slurm-contribs
@@ -741,6 +767,9 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%systemd_postun_with_restart slurmdbd.service
%changelog
+* Tue May 4 2021 Philip Kovacs <pkfed@fedoraproject.org> - 20.11.6-1
+- Release of 20.11.6
+
* Mon Apr 12 2021 Philip Kovacs <pkfed@fedoraproject.org> - 20.11.5-2
- Add subpackage slurm-slurmrestd (Slurm REST API daemon)
diff --git a/sources b/sources
index 4b4d573..522e559 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (slurm-20.11.5.tar.bz2) = 99a59797f860c4042f99ad5b9850159c4d5df11bd4cb6a63359370e51a475f550f32033eeaf7537b2bcd6a6e62ccc6f0378028f2e136f8d6d0191376e3cf8512
+SHA512 (slurm-20.11.6.tar.bz2) = b7c6ac205e5c1077a7f5d337e92906d738f274e210079ec002f0f56d129f46d27f33d0caae6065d7b04c88b3f3069d0a2abeb4c42affe7c8afe86212af1581e1
reply other threads:[~2026-07-22 7:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178470692827.1.2774006855595211192.rpms-slurm-2b29bd330af9@fedoraproject.org \
--to=pkfed@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox