public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/prrte] rawhide: Set --bindir/--mandir in configure instead of moving files post-install
@ 2026-09-18 23:40 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-09-18 23:40 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-18 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 23:40 [rpms/prrte] rawhide: Set --bindir/--mandir in configure instead of moving files post-install Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox