|
|
|
@ -1,17 +1,24 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 6;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
# Copyright (C) 2019 Mellanox Technologies. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
Name: rshim
|
|
|
|
|
Version: 2.0.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.0.17
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: User-space driver for Mellanox BlueField SoC
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
|
|
|
|
|
|
License: GPL-2.0-only
|
|
|
|
|
URL: https://github.com/mellanox/rshim-user-space
|
|
|
|
|
Source0: https://github.com/Mellanox/rshim-user-space/archive/refs/tags/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: rshim-sysconfig.patch
|
|
|
|
|
Source0: https://github.com/Mellanox/rshim-user-space/archive/refs/tags/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc, autoconf, automake, make
|
|
|
|
|
BuildRequires: pkgconfig(libpci), pkgconfig(libusb-1.0), pkgconfig(fuse)
|
|
|
|
@ -27,7 +34,7 @@ interface. It provides ways to push boot stream, debug the target or login
|
|
|
|
|
via the virtual console or network interface.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n rshim-user-space-%{name}-%{version}
|
|
|
|
|
%setup -q -n rshim-user-space-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./bootstrap.sh
|
|
|
|
@ -37,12 +44,6 @@ via the virtual console or network interface.
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
|
|
|
|
cat > $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/rshim <<EOF
|
|
|
|
|
# Command-line options for rshim
|
|
|
|
|
OPTIONS=""
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post rshim.service
|
|
|
|
|
|
|
|
|
@ -56,7 +57,6 @@ EOF
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/rshim.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/rshim
|
|
|
|
|
%{_sbindir}/rshim
|
|
|
|
|
%{_sbindir}/bfb-install
|
|
|
|
|
%{_unitdir}/rshim.service
|
|
|
|
@ -64,27 +64,58 @@ EOF
|
|
|
|
|
%{_mandir}/man8/bfb-install.8.gz
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon May 22 2023 Dean Nelson <dnelson@redhat.com> - 2.0.8-1
|
|
|
|
|
- Update user-space rshim driver source to version 2.0.8
|
|
|
|
|
- Modify rshim.spec accordingly
|
|
|
|
|
- Resolves: rhbz#2196626
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.0.17-6
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2024 Michal Schmidt <mschmidt@redhat.com> - 2.0.17-5
|
|
|
|
|
- add gating.yaml
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.17-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.17-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.17-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2023 Michal Schmidt <mschmidt@redhat.com> - 2.0.17-1
|
|
|
|
|
- Update to upstream version 2.0.17
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.5-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Aug 10 2023 Dean Nelson <dnelson@redhat.com> - 2.0.9-3
|
|
|
|
|
- rshim.spec: migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue May 18 2021 Dean Nelson <dnelson@redhat.com> - 2.0.5-1
|
|
|
|
|
- Update user-space rshim driver source to version 2.0.5
|
|
|
|
|
- Modify rshim.spec accordingly
|
|
|
|
|
- Switch to %%autosetup to handle Patch0 and any future patches
|
|
|
|
|
- Resolves: rhbz#1858577
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 20 2021 Jeff Bastian <jbastian@redhat.com> - 2.0.4-6
|
|
|
|
|
- Add sysconfig/rshim file and update rshim.service to source it
|
|
|
|
|
- Resolves: rhbz#1960060
|
|
|
|
|
* Mon Jun 19 2023 Michal Schmidt <mschmidt@redhat.com> - 2.0.9-1
|
|
|
|
|
- Upstream relase 2.0.9
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.4-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Jun 02 2023 Michal Schmidt <mschmidt@redhat.com> - 2.0.8-1
|
|
|
|
|
- Update to upstream release 2.0.8
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Michal Schmidt <mschmidt@redhat.com> - 2.0.7-1
|
|
|
|
|
- Update to upstream version 2.0.7
|
|
|
|
|
|
|
|
|
|
* Mon Feb 13 2023 Michal Schmidt <mschmidt@redhat.com> - 2.0.6.19-1
|
|
|
|
|
- Update to upstream release 2.0.6-19
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.4-5
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -128,3 +159,5 @@ EOF
|
|
|
|
|
|
|
|
|
|
* Mon Dec 16 2019 Liming Sun <lsun@mellanox.com>
|
|
|
|
|
- Initial packaging
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|