## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: prrte Version: 4.1.0 Release: %autorelease Summary: PMIx Reference RunTime Environment (PRRTE) # src/mca/prtereachable/netlink/reachable_netlink_utils_common.c is BSD-2-Clause # -devel related licenses: # src/docs/show-help-files/_build/text/_static/jquery.js is MIT # docs/_build/html/_static/js/html5shiv.min.js is MIT OR GPL-2.0-or-later # docs/_build/html/_static/css/fonts/* are (OFL-1.1 OR MIT) License: BSD-3-Clause-Open-MPI AND BSD-2-Clause URL: https://github.com/openpmix/%{name} Source0: https://github.com/openpmix/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 # Fix loss of hardening flags (including CET). Submitted as: # https://github.com/openpmix/prrte/pull/2776 # Obsoleted by upstream removal of flex-based parser # in 11 commits f9ee7c5d57b8..cfc373e95c83 on master, # which were then backported to the "v5.0" branch, but not older branches. Patch0: prrte-fix-cflags-before-picky.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: flex BuildRequires: gcc BuildRequires: make BuildRequires: hwloc-devel BuildRequires: libevent-devel BuildRequires: pmix-devel >= 6.1.0 # For pmixcc - https://bugzilla.redhat.com/show_bug.cgi?id=2078048 BuildRequires: pmix-tools BuildRequires: perl-interpreter Requires: %{name}-libs%{?_isa} = %{version}-%{release} # openmpi, pmix no longer support 32-bit platforms ExcludeArch: %{ix86} %description PRRTE is the PMIx Reference Run Time Environment. The project is formally referred to in documentation by "PRRTE", and the GitHub repository is "openpmix/%{name}". However, we have found that most users do not like typing the two consecutive "r"s in the name. Hence, all of the internal API symbols, environment variables, MCA frameworks, and CLI executables all use the abbreviated "prte" (one "r", not two) for convenience. %package libs Summary: Libraries for %{name} %description libs Runtime libraries for %{name}. %package devel Summary: Development files for %{name} License: BSD-3-Clause-Open-MPI AND BSD-2-Clause AND MIT AND (MIT OR GPL-2.0-or-later) AND (OFL-1.1 OR MIT) Requires: %{name}-libs%{?_isa} = %{version}-%{release} # For pmixcc, the target of the pcc symlink Requires: pmix-tools%{?_isa} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 -n %{name}-%{version} # touch lexer sources to recompile them find src -name \*.l -print -exec touch --no-create {} \; # Remove “BSD with advertising” licensed qsort implementation, which was only # needed to work around ancient Solaris bugs. The typedef keeps the translation # unit from being empty. echo '' > src/util/qsort.h echo 'typedef int x;' > src/util/qsort.c # Patch0 touches configure.ac-derived files; regenerate the build system. ./autogen.pl %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 \ --with-sge \ --with-pmix=%{_prefix} %make_build %install %make_install # remove libtool archives find %{buildroot} -name '*.la' -delete # remove Sphinx's own incremental-build cache markers, not useful in the # installed docs rm %{buildroot}%{_docdir}/%{name}/html/.buildinfo* %check %make_build check %files %doc README.md %{_libdir}/openmpi/bin/prte %{_libdir}/openmpi/bin/prte_info %{_libdir}/openmpi/bin/prte-info %{_libdir}/openmpi/bin/prte-submit %{_libdir}/openmpi/bin/prte-term %{_libdir}/openmpi/bin/prted %{_libdir}/openmpi/bin/prterun %{_libdir}/openmpi/bin/prun %{_libdir}/openmpi/bin/pterm %{_libdir}/openmpi/share/man/man1/*.1* %{_libdir}/openmpi/share/man/man5/*.5* %files libs %license LICENSE %dir %{_sysconfdir}/prte %config(noreplace) %{_sysconfdir}/prte/* %{_datadir}/prte/ %{_libdir}/lib%{name}.so.3* %files devel %{_libdir}/openmpi/bin/pcc %{_docdir}/prrte/ %{_includedir}/prte*.h %{_includedir}/prte/ %{_libdir}/lib%{name}.so %changelog ## START: Generated by rpmautospec * Wed Sep 30 2026 Orion Poplawski - 4.1.0-1 - Update to 4.1.0 * Mon Sep 14 2026 Michal Schmidt - 3.0.14-8 - Fix loss of hardening flags (including CET) in some MCA components * Mon Sep 14 2026 Michal Schmidt - 3.0.14-7 - Waive rpminspect annocheck lto check * Fri Sep 11 2026 Michal Schmidt - 3.0.14-6 - Waive rpminspect badfuncs check * Fri Sep 11 2026 Michal Schmidt - 3.0.14-5 - Add rpmlintrc for remaining false-positive findings * Fri Sep 11 2026 Michal Schmidt - 3.0.14-4 - Drop Sphinx build-cache markers from installed docs * Fri Sep 11 2026 Michal Schmidt - 3.0.14-3 - Fix dangling pcc symlink and require pmix-tools for prrte-devel * Fri Sep 11 2026 Michal Schmidt - 3.0.14-2 - Set --bindir/--mandir in configure instead of moving files post-install * Fri Sep 11 2026 Michal Schmidt - 3.0.14-1 - Update to 3.0.14 * Thu Jul 16 2026 Fedora Release Engineering - 3.0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Sat Jan 17 2026 Fedora Release Engineering - 3.0.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 3.0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Apr 08 2025 Orion Poplawski - 3.0.6-7 - Rebuild with pmix 5.0.7 * Tue Feb 11 2025 Orion Poplawski - 3.0.6-6 - Drop torque dependent files as well * Tue Feb 11 2025 Orion Poplawski - 3.0.6-5 - Drop BR on torque-devel - retired in Fedora 42 * Sat Jan 18 2025 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Oct 20 2024 Orion Poplawski - 3.0.6-1 - Update to 3.0.6 - Add upstream fix for rhbz#2307533 * Fri Jul 19 2024 Fedora Release Engineering - 3.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed May 15 2024 Orion Poplawski - 3.0.2-5 - Move binaries and man pages into openmpi path to avoid conclicting with putty (bz#2247407) * Fri Jan 26 2024 Fedora Release Engineering - 3.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 07 2023 Yaakov Selkowitz - 3.0.2-2 - Drop obsolete pandoc dependency * Fri Oct 27 2023 Orion Poplawski - 3.0.2-1 - Update to 3.0.2 * Mon Sep 25 2023 Michel Lind - 2.0.2-5 - Rebuild for pmix 4.1.3 * Fri Jul 21 2023 Fedora Release Engineering - 2.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Apr 23 2022 Orion Poplawski - 2.0.2-1 - Update to 2.0.2 * Mon Jan 24 2022 Orion Poplawski - 2.0.0-5 - Add explicit BR on hwloc-devel and libevent-devel * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Oct 31 2021 Orion Poplawski - 2.0.0-3 - Explicitly list binaries * Thu Oct 28 2021 Orion Poplawski - 2.0.0-2 - Split libraries into -libs sub-package - Add BR make - Remove old qsort * Mon Oct 11 2021 Orion Poplawski - 2.0.0-1 - Initial Fedora package ## END: Generated by rpmautospec