Update to upstream release 2.0.6-19

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
This commit is contained in:
Michal Schmidt 2023-02-13 13:35:41 +01:00
parent cd044c9c29
commit 4275751f0d
3 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/rshim-2.0.4.tar.gz
/rshim-2.0.6-19.tar.gz

View File

@ -3,14 +3,15 @@
#
Name: rshim
Version: 2.0.4
# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead.
# https://github.com/Mellanox/rshim-user-space/issues/105
%global upstream_ver 2.0.6-19
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
Release: %autorelease
Summary: User-space driver for Mellanox BlueField SoC
License: GPLv2
URL: https://github.com/mellanox/rshim-user-space
Source0: https://github.com/Mellanox/rshim-user-space/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/Mellanox/rshim-user-space/archive/refs/tags/%{name}-%{upstream_ver}.tar.gz
BuildRequires: gcc, autoconf, automake, make
BuildRequires: pkgconfig(libpci), pkgconfig(libusb-1.0), pkgconfig(fuse)
@ -26,7 +27,7 @@ interface. It provides ways to push boot stream, debug the target or login
via the virtual console or network interface.
%prep
%setup -q -n %{name}-%{version}
%setup -q -n rshim-user-space-%{name}-%{upstream_ver}
%build
./bootstrap.sh
@ -48,9 +49,12 @@ via the virtual console or network interface.
%files
%license LICENSE
%doc README.md
%config(noreplace) %{_sysconfdir}/rshim.conf
%{_sbindir}/rshim
%{_sbindir}/bfb-install
%{_unitdir}/rshim.service
%{_mandir}/man8/rshim.8.gz
%{_mandir}/man8/bfb-install.8.gz
%changelog
%autochangelog

View File

@ -1 +1 @@
SHA512 (rshim-2.0.4.tar.gz) = 76b420379bbaf459493e4956a2f8b3e92cf83ebc2cb0ad946c2028383ed5b1093e79a24d0c949776c1e42ce4cb7a1fc474ca35131419efef1484df000018ea18
SHA512 (rshim-2.0.6-19.tar.gz) = 14cec77f18bc795557c42e47d922f8f1f17481a882bd09eaa85a6f8b90b803dc4b3708f688355da126aa347f0b7965047505bda3819ac98b404d2d87893e25fa