public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/slurm] epel10: Added BuildRequires gcc and minor packaging conformance items.
@ 2026-07-22  7:54 Philip Kovacs
  0 siblings, 0 replies; only message in thread
From: Philip Kovacs @ 2026-07-22  7:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/slurm
Branch : epel10
Commit : 7245d5e8435e80bb18d340a50a1d507955b2ac26
Author : Philip Kovacs <pkdevel@yahoo.com>
Date   : 2017-10-05T00:43:02-04:00
Stats  : +9/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/slurm/c/7245d5e8435e80bb18d340a50a1d507955b2ac26?branch=epel10

Log:
Added BuildRequires gcc and minor packaging conformance items.

---
diff --git a/slurm.spec b/slurm.spec
index bef8b91..2613026 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -26,7 +26,7 @@
 
 Name:           slurm
 Version:        17.02.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Simple Linux Utility for Resource Management
 License:        GPLv2 and BSD
 URL:            https://slurm.schedmd.com/
@@ -73,6 +73,7 @@ BuildRequires:  numactl-devel
 %endif
 
 BuildRequires:  desktop-file-utils
+BuildRequires:  gcc
 BuildRequires:  perl-ExtUtils-MakeMaker
 BuildRequires:  perl-podlators
 BuildRequires:  pkgconf
@@ -270,7 +271,7 @@ s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \
 PERL_MM_PARAMS="INSTALLDIRS=vendor" %make_build contrib V=0
 
 %check
-make check
+%{__make} check
 
 %install
 %make_install
@@ -403,13 +404,8 @@ rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
 rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
 rm -f %{buildroot}%{perl_archlib}/perllocal.pod
 
-# customize __find_requires to strip out incorrect dependencies
-cat >find-requires <<EOF
-exec %{__find_requires} "$@" | grep -v -E '^libpmix.so|libevent'
-EOF
-chmod +x find-requires
-%global _use_internal_dependency_generator 0
-%global __find_requires %{_builddir}/%{buildsubdir}/find-requires
+# filter unneeded dependencies
+%global __requires_exclude ^libpmix.so|libevent
 
 # -----
 # Slurm
@@ -751,6 +747,9 @@ fi
 %systemd_postun_with_restart slurmdbd.service
 
 %changelog
+* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-3
+- Added BuildRequires gcc and minor packaging conformance items.
+
 * Sat Sep 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-2
 - Removed unneeded Requires(pre).
 

diff --git a/slurm_setuser.in b/slurm_setuser.in
index 7ed78e6..ae7e6c2 100644
--- a/slurm_setuser.in
+++ b/slurm_setuser.in
@@ -50,7 +50,7 @@ function usage ()
 {
 	echo  -e "Sets the slurm installation on this node to run as the specified user and group\n"
 	echo  "Usage: $prog [-u <user>] [-g <group>] [-h] [-y]"
-	echo  "   -u user>    : the slurm file owner and SlurmUser ($user)"
+	echo  "   -u <user>   : the slurm file owner and SlurmUser ($user)"
 	echo  "   -g <group>  : the slurm file group ($group)"
 	echo  "   -y          : answer yes to all questions ($yesno)"
 	echo  "   -h          : print help"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22  7:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22  7:54 [rpms/slurm] epel10: Added BuildRequires gcc and minor packaging conformance items Philip Kovacs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox