Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

View File

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