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 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