Skip to content

Commit 820a4d0

Browse files
committed
Patch the prrte.spec file.
This is already fixed in prrte but for v5.0.x and main we'll want this fix applied for any rpm generation. This can safely be removed once main and v5.0.x advance. On v5.0.x this will be the next prrte release. For main, the next submodule update is fine to remove this. Signed-off-by: Austen Lauria <[email protected]>
1 parent 7264b6e commit 820a4d0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

autogen.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,8 @@ sub replace_config_sub_guess {
16361636
}
16371637

16381638
verbose "=== PRRTE\n";
1639+
verbose "Patching prrte.spec file\n";
1640+
system("$patch_prog -N -p0 < ./config/prrte.spec.diff > /dev/null 2>&1");
16391641
if (list_contains("prrte", @disabled_3rdparty_packages)) {
16401642
verbose "--- PRRTE disabled\n";
16411643
} else {

config/prrte.spec.diff

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
--- 3rd-party/prrte/contrib/dist/linux/prrte.spec 2023-10-03 08:12:43.842625000 -0400
2+
+++ 3rd-party/prrte/contrib/dist/linux/prrte.spec 2023-10-03 08:12:27.849686000 -0400
3+
@@ -612,7 +612,7 @@
4+
%{shell_scripts_path}/%{shell_scripts_basename}.sh
5+
%{shell_scripts_path}/%{shell_scripts_basename}.csh
6+
%endif
7+
-%doc README INSTALL LICENSE
8+
+%doc README.md LICENSE
9+
10+
%else
11+
12+
@@ -656,7 +656,7 @@
13+
%{shell_scripts_path}/%{shell_scripts_basename}.sh
14+
%{shell_scripts_path}/%{shell_scripts_basename}.csh
15+
%endif
16+
-%doc README INSTALL LICENSE
17+
+%doc README.md LICENSE
18+
%{_pkgdatadir}
19+
20+
%files devel -f devel.files

0 commit comments

Comments
 (0)