Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch the prrte.spec file. #11962

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions autogen.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,10 @@ sub replace_config_sub_guess {
if (! -f "3rd-party/prrte/configure.ac") {
my_die("Could not find pmix files\n");
}

verbose "Patching prrte.spec file\n";
system("$patch_prog -N -p0 < ./config/prrte.spec.diff > /dev/null 2>&1");

push(@subdirs, "3rd-party/prrte/");
$m4 .= "m4_define([package_prrte], [1])\n";

Expand Down
20 changes: 20 additions & 0 deletions config/prrte.spec.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- 3rd-party/prrte/contrib/dist/linux/prrte.spec 2023-10-03 08:12:43.842625000 -0400
+++ 3rd-party/prrte/contrib/dist/linux/prrte.spec 2023-10-03 08:12:27.849686000 -0400
@@ -612,7 +612,7 @@
%{shell_scripts_path}/%{shell_scripts_basename}.sh
%{shell_scripts_path}/%{shell_scripts_basename}.csh
%endif
-%doc README INSTALL LICENSE
+%doc README.md LICENSE

%else

@@ -656,7 +656,7 @@
%{shell_scripts_path}/%{shell_scripts_basename}.sh
%{shell_scripts_path}/%{shell_scripts_basename}.csh
%endif
-%doc README INSTALL LICENSE
+%doc README.md LICENSE
%{_pkgdatadir}

%files devel -f devel.files