<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yours are probably simple enough:</p>
<p>Name: slurm<br>
Version: 15.08.11<br>
Release 1</p>
<p>which becomes slurm-15.08.11-1<br>
You may see some issues with License and/or changelog as the
format of SPEC files changed a little awhile back, so the latest
rpmbuild may not like things.<br>
</p>
<p>However, I highly suggest you upgrade.. for so many reasons.</p>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 7/8/2019 12:49 PM, Pariksheet Nanda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPVZ_XVZhZsNLSTmvy4Qq5PnbA+ndvUmmMMHd3sKKUQWWMvhFg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi SLURM devs,</div>
<div><br>
</div>
<div>TL;DR: What magic incantations are needed to preprocess the
slurm.spec file in SLURM 15?</div>
<br>
Our cluster is currently running SLURM version 15.08.11. We are
planning some downtime to upgrade to 17 and then to 19, and in
preparation for the upgrade I'm simulating the upgrade steps in
libvirt Vagrant VMs with Ansible playbooks.<br>
<br>
However the issue I'm running into is using the GitHub tarball
[1] the slurm.spec file has invalid entries:<br>
<br>
<br>
pan14001@becat-pan ~/src/ansible-hpc-storrs $ vagrant ssh head1<br>
Last login: Thu Jun 6 14:00:18 2019 from 192.168.121.1<br>
[vagrant@head1 ~]$ sudo su -<br>
[root@head1 ~]# cd /tmp/<br>
[root@head1 tmp]# rpmbuild -ta ~/src/slurm-15-08-11-1.tar.gz<br>
error: line 89: Tag takes single token only: Name: see META
file<br>
[root@head1 tmp]# tar --strip-components=1 -xf
~/src/slurm-15-08-11-1.tar.gz slurm-slurm-15-08-11-1/slurm.spec<br>
[root@head1 tmp]# grep -F META slurm.spec<br>
Name: see META file<br>
Version: see META file<br>
Release: see META file<br>
[root@head1 tmp]#<br>
<br>
<br>
In the past when we installed SLURM we used the tarballs from
the <a href="http://slurm.schedmd.com" moz-do-not-send="true">slurm.schedmd.com</a>
website which behaved differently. But I see those tarballs
have been removed due to the security vulnerability
(CVE-2018-10995); all versions of Slurm prior to 17.02.11 or
17.11.7 are no longer available for download from the SchedMD
website.<br>
<br>
Presumably there is some preprocessing step to substitute the
"see META file" comments strings? I'm not able to find any
build automation that processes the slurm.spec file.<br>
<br>
Pariksheet<br>
<br>
[1] <a
href="https://github.com/SchedMD/slurm/archive/slurm-15-08-11-1.tar.gz"
moz-do-not-send="true">https://github.com/SchedMD/slurm/archive/slurm-15-08-11-1.tar.gz</a></div>
</blockquote>
</body>
</html>