Compare commits

..

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

11 changed files with 72 additions and 38 deletions

15
.gitignore vendored
View File

@ -1 +1,14 @@
SOURCES/opensm-3.3.24.tar.gz i386/
i686/
x86_64/
ppc/
ppc64/
ia64/
mips/
arm*/
noarch/
.project
*.src.rpm
.build*.log
/opensm-3.*.tar.gz
/opensm-3.*/

View File

@ -1 +0,0 @@
285f447c556b67dc5be1deaaab9294b7a8697317 SOURCES/opensm-3.3.24.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -2,9 +2,8 @@
Name: opensm Name: opensm
Version: 3.3.24 Version: 3.3.24
Release: 1%{?dist} Release: 2%{?dist}
Summary: OpenIB InfiniBand Subnet Manager and management utilities Summary: OpenIB InfiniBand Subnet Manager and management utilities
Group: System Environment/Daemons
License: GPLv2 or BSD License: GPLv2 or BSD
Url: https://github.com/linux-rdma/opensm Url: https://github.com/linux-rdma/opensm
@ -16,8 +15,10 @@ Source6: opensm.launch
Source7: opensm.rwtab Source7: opensm.rwtab
Source8: opensm.partitions Source8: opensm.partitions
BuildRequires: make
BuildRequires: gcc
BuildRequires: libibumad-devel, systemd, systemd-units BuildRequires: libibumad-devel, systemd, systemd-units
BuildRequires: bison, flex, byacc, gcc BuildRequires: bison, flex, byacc
%if %{__remake_config} %if %{__remake_config}
BuildRequires: libtool, autoconf, automake BuildRequires: libtool, autoconf, automake
%endif %endif
@ -38,14 +39,12 @@ running the opensm daemon.
%package libs %package libs
Summary: Libraries used by opensm and included utilities Summary: Libraries used by opensm and included utilities
Group: System Environment/Libraries
%description libs %description libs
Shared libraries for Infiniband user space access Shared libraries for Infiniband user space access
%package devel %package devel
Summary: Development files for the opensm-libs libraries Summary: Development files for the opensm-libs libraries
Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel %description devel
@ -53,7 +52,6 @@ Development environment for the opensm libraries
%package static %package static
Summary: Static version of the opensm libraries Summary: Static version of the opensm libraries
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static %description static
Static version of opensm libraries Static version of opensm libraries
@ -66,12 +64,12 @@ Static version of opensm libraries
./autogen.sh ./autogen.sh
%endif %endif
%configure --with-opensm-conf-sub-dir=rdma %configure --with-opensm-conf-sub-dir=rdma
make %{?_smp_mflags} %make_build
cd opensm cd opensm
./opensm -c ../opensm-%{version}.conf ./opensm -c ../opensm-%{version}.conf
%install %install
make install DESTDIR=%{buildroot} %make_install
# remove unpackaged files from the buildroot # remove unpackaged files from the buildroot
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
rm -fr %{buildroot}%{_sysconfdir}/init.d rm -fr %{buildroot}%{_sysconfdir}/init.d
@ -96,9 +94,7 @@ if [ -d /var/cache/opensm ]; then
fi fi
%systemd_postun_with_restart opensm.service %systemd_postun_with_restart opensm.service
%post libs -p /sbin/ldconfig %ldconfig_scriptlets libs
%postun libs -p /sbin/ldconfig
%files %files
%dir /var/cache/opensm %dir /var/cache/opensm
@ -125,41 +121,60 @@ fi
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Tue Jun 15 2021 Honggang Li <honli@redhat.com> - 3.3.24-1 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.24-2
- Rebase to latest upstream release 3.3.24 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Resolves: bz1961961 Related: rhbz#1991688
* Wed Jun 16 2021 Honggang Li <honli@redhat.com> - 3.3.24-1
- Rebase opensm to latest upstream release 3.3.24
- Resolves: bz1961963
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.23-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.23-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Dec 10 2020 Timm Bäder <tbaeder@redhat.com> 3.3.23.5
- Use make macros
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
* Thu Dec 10 2020 Honggang Li <honli@redhat.com> - 3.3.23-4 * Thu Dec 10 2020 Honggang Li <honli@redhat.com> - 3.3.23-4
- opensm service should after rdma-hw.target - opensm service should after rdma-hw.target
- Resolves: bz1906252
* Fri Nov 20 2020 Honggang Li <honli@redhat.com> - 3.3.23-3 * Thu Oct 29 2020 Honggang Li <honli@redhat.com> -3.3.23-3
- Allow MCMR requests with default subnet prefix - Update systemd service file
- Resolves: bz1898872
* Thu Nov 05 2020 Honggang Li <honli@redhat.com> - 3.3.23-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.23-2
- Update opensm service file - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Resolves: bz1892502
* Wed Apr 15 2020 Honggang Li <honli@redhat.com> - 3.3.23-1 * Mon Mar 16 2020 Honggang Li <honli@redhat.com> - 3.3.23-1
- Rebase to latest upstream release 3.3.23 - Rebase opensm to latest upstream release 3.3.23
- Resolves: bz1815960 - Resolves: bz1813779
* Thu May 30 2019 Honggang Li <honli@redhat.com> - 3.3.22-2 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.22-3
- Onboard gating configuration - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- Resolves: bz1682401
* Wed May 15 2019 Honggang Li <honli@redhat.com> - 3.3.22-1 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.22-2
- Rebase to latest upstream release 3.3.22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- Resolves: bz1708475
* Fri Jan 11 2019 Honggang Li <honli@redhat.com> - 3.3.21-2 * Wed Apr 17 2019 Honggang Li <honli@redhat.com> - 3.3.22-1
- Restore the 'subnet_prefix' option - Rebase opensm to latest upstream release 3.3.22
- Resolves: bz1664575 - Resolves: bz1700766
* Mon Sep 24 2018 Honggang Li <honli@redhat.com> - 3.3.21-1 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.21-3
- Rebase to latest upstream release 3.3.21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- Resolves: bz1602645
* Mon Jan 21 2019 Honggang Li <honli@redhat.com> - 3.3.21-2
- Restore the subnet prefix patch
- Resolves: bz1663785
* Mon Oct 8 2018 Honggang Li <honli@redhat.com> - 3.3.21-1
- Rebase opensm to latest upstream release 3.3.21
- Resolves: bz1637260
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.20-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.20-8 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.20-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (opensm-3.3.24.tar.gz) = 292449b1282008589ce6cf6a649bb64afabf359d23a8fa4afa38217801256a6a5f06912c9e463c0fdac30039aff9eceb212e8560bf05c7253c4e73080e16072e