Compare commits

...

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

View File

@ -2,8 +2,9 @@
Name: opensm Name: opensm
Version: 3.3.24 Version: 3.3.24
Release: 2%{?dist} Release: 1%{?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
@ -15,10 +16,8 @@ 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 BuildRequires: bison, flex, byacc, gcc
%if %{__remake_config} %if %{__remake_config}
BuildRequires: libtool, autoconf, automake BuildRequires: libtool, autoconf, automake
%endif %endif
@ -39,12 +38,14 @@ 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
@ -52,6 +53,7 @@ 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
@ -64,12 +66,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_build make %{?_smp_mflags}
cd opensm cd opensm
./opensm -c ../opensm-%{version}.conf ./opensm -c ../opensm-%{version}.conf
%install %install
%make_install make install DESTDIR=%{buildroot}
# 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
@ -94,7 +96,9 @@ if [ -d /var/cache/opensm ]; then
fi fi
%systemd_postun_with_restart opensm.service %systemd_postun_with_restart opensm.service
%ldconfig_scriptlets libs %post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files %files
%dir /var/cache/opensm %dir /var/cache/opensm
@ -121,60 +125,41 @@ fi
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.24-2 * Tue Jun 15 2021 Honggang Li <honli@redhat.com> - 3.3.24-1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebase to latest upstream release 3.3.24
Related: rhbz#1991688 - Resolves: bz1961961
* 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
* Thu Oct 29 2020 Honggang Li <honli@redhat.com> -3.3.23-3 * Fri Nov 20 2020 Honggang Li <honli@redhat.com> - 3.3.23-3
- Update systemd service file - Allow MCMR requests with default subnet prefix
- Resolves: bz1898872
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.23-2 * Thu Nov 05 2020 Honggang Li <honli@redhat.com> - 3.3.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Update opensm service file
- Resolves: bz1892502
* Mon Mar 16 2020 Honggang Li <honli@redhat.com> - 3.3.23-1 * Wed Apr 15 2020 Honggang Li <honli@redhat.com> - 3.3.23-1
- Rebase opensm to latest upstream release 3.3.23 - Rebase to latest upstream release 3.3.23
- Resolves: bz1813779 - Resolves: bz1815960
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.22-3 * Thu May 30 2019 Honggang Li <honli@redhat.com> - 3.3.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Onboard gating configuration
- Resolves: bz1682401
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.22-2 * Wed May 15 2019 Honggang Li <honli@redhat.com> - 3.3.22-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebase to latest upstream release 3.3.22
- Resolves: bz1708475
* Wed Apr 17 2019 Honggang Li <honli@redhat.com> - 3.3.22-1 * Fri Jan 11 2019 Honggang Li <honli@redhat.com> - 3.3.21-2
- Rebase opensm to latest upstream release 3.3.22 - Restore the 'subnet_prefix' option
- Resolves: bz1700766 - Resolves: bz1664575
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.21-3 * Mon Sep 24 2018 Honggang Li <honli@redhat.com> - 3.3.21-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebase to latest upstream release 3.3.21
- 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