Skip to content

Commit 0922d15

Browse files
authored
Merge pull request #11962 from awlauria/prrte_patch
Patch the prrte.spec file.
2 parents 7264b6e + 3ef5dc9 commit 0922d15

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
@@ -1643,6 +1643,10 @@ sub replace_config_sub_guess {
16431643
if (! -f "3rd-party/prrte/configure.ac") {
16441644
my_die("Could not find pmix files\n");
16451645
}
1646+
1647+
verbose "Patching prrte.spec file\n";
1648+
system("$patch_prog -N -p0 < ./config/prrte.spec.diff > /dev/null 2>&1");
1649+
16461650
push(@subdirs, "3rd-party/prrte/");
16471651
$m4 .= "m4_define([package_prrte], [1])\n";
16481652

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)