diff --git a/.gitignore b/.gitignore index 3f964d4..c629959 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libpsm2-11.2.206.tar.gz +SOURCES/PSM2_11.2.230.tar.gz diff --git a/.libpsm2.metadata b/.libpsm2.metadata index a726444..c2f53c3 100644 --- a/.libpsm2.metadata +++ b/.libpsm2.metadata @@ -1 +1 @@ -c22fc122ad0ca443c16635edb7058f5594908e0d SOURCES/libpsm2-11.2.206.tar.gz +860a7dbf44cefd30ebfe1bcf9f9192857bfdbd5d SOURCES/PSM2_11.2.230.tar.gz diff --git a/SPECS/libpsm2.spec b/SPECS/libpsm2.spec index 25a71e8..c23203d 100644 --- a/SPECS/libpsm2.spec +++ b/SPECS/libpsm2.spec @@ -52,17 +52,12 @@ # Summary: Intel PSM Libraries Name: libpsm2 -Version: 11.2.206 -Release: 1%{?dist} +Version: 11.2.230 +Release: 1%{?dist}.1 License: BSD or GPLv2 -URL: https://github.com/intel/opa-psm2 +URL: https://github.com/cornelisnetworks/opa-psm2/ -# The tarball can be created by: -# git clone https://github.com/intel/opa-psm2.git -# cd opa-psm2 -# git checkout c3a7d9468d5623c0164b783346bada8664a9a2c9 -# make dist -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/cornelisnetworks/opa-psm2/archive/refs/tags/PSM2_%{version}.tar.gz # The OPA product is supported on x86_64 only: ExclusiveArch: x86_64 @@ -70,6 +65,7 @@ BuildRequires: libuuid-devel BuildRequires: numactl-devel BuildRequires: systemd BuildRequires: gcc +BuildRequires: make Obsoletes: hfi1-psm < 1.0.0 %package devel @@ -100,18 +96,23 @@ Development files for the Intel PSM library Support for MPIs linked with PSM versions < 2 %prep -%setup -q -n %{name}-%{version} +%setup -q -n opa-psm2-PSM2_%{version} %build %{set_build_flags} -make %{?_smp_mflags} +%{make_build} %install +%if 0%{?fedora} +export DISTRO=fedora +%endif +%if 0%{?rhel} +export DISTRO=rhel +%endif %make_install rm -f %{buildroot}%{_libdir}/*.a -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -141,6 +142,14 @@ rm -f %{buildroot}%{_libdir}/*.a %endif %changelog +* Wed Feb 08 2023 Michal Schmidt - 11.2.230-1.1 +- Disable the gating test that does not work without hfi1 hardware. +- Resolves: rhbz#2110923 + +* Fri Feb 03 2023 Michal Schmidt - 11.2.230-1 +- Rebase to upstream release 11.2.230 +- Resolves: rhbz#2110923 + * Tue Dec 07 2021 Honggang Li - 11.2.206-1 - Rebase to latest upstream release 11.2.206 - Resolves: bz1989162