Skip to content

Commit 29d872f

Browse files
authored
Merge pull request #11963 from awlauria/prrte_patch
v5.0.x: Patch the prrte.spec file.
2 parents 07d9c02 + 608974b commit 29d872f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

autogen.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,10 @@ sub replace_config_sub_guess {
16251625
if (! -f "3rd-party/prrte/configure.ac") {
16261626
my_die("Could not find pmix files\n");
16271627
}
1628+
1629+
verbose "Patching prrte.spec file\n";
1630+
system("$patch_prog -N -p0 < ./config/prrte.spec.diff > /dev/null 2>&1");
1631+
16281632
push(@subdirs, "3rd-party/prrte/");
16291633
$m4 .= "m4_define([package_prrte], [1])\n";
16301634

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)