public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/prrte] rawhide: Set --bindir/--mandir in configure instead of moving files post-install
Date: Fri, 18 Sep 2026 23:40:35 GMT [thread overview]
Message-ID: <178977483502.1.4983286336137040109.rpms-prrte-3a5fa2b6d99e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/prrte
Branch : rawhide
Commit : 3a5fa2b6d99e5eec02b5311c632e726dda2fad6e
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-09-11T13:54:01+02:00
Stats : +4/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/prrte/c/3a5fa2b6d99e5eec02b5311c632e726dda2fad6e?branch=rawhide
Log:
Set --bindir/--mandir in configure instead of moving files post-install
Have the upstream build system install binaries and man pages
directly into %{_libdir}/openmpi to avoid the conflict with putty
(RHBZ#2247407), rather than installing them to the default locations
and moving them afterwards.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---
diff --git a/prrte.spec b/prrte.spec
index d8a9a79..990a671 100644
--- a/prrte.spec
+++ b/prrte.spec
@@ -68,8 +68,12 @@ echo 'typedef int x;' > src/util/qsort.c
%build
+# Install into openmpi dir to avoid conflict with putty
+# https://bugzilla.redhat.com/show_bug.cgi?id=2247407
%configure \
--sysconfdir=%{_sysconfdir}/prte \
+ --bindir=%{_libdir}/openmpi/bin \
+ --mandir=%{_libdir}/openmpi/share/man \
--disable-static \
--disable-silent-rules \
--enable-shared \
@@ -80,10 +84,6 @@ echo 'typedef int x;' > src/util/qsort.c
%install
%make_install
-# Move to openmpi dir to avoid conflict with putty
-mkdir -p %{buildroot}%{_libdir}/openmpi/{bin,share/man}
-mv %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/openmpi/bin
-mv %{buildroot}%{_mandir}/* %{buildroot}%{_libdir}/openmpi/share/man/
# remove libtool archives
find %{buildroot} -name '*.la' -delete
reply other threads:[~2026-09-18 23:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178977483502.1.4983286336137040109.rpms-prrte-3a5fa2b6d99e@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox