Added missing lz4 libs to rebased code

Updated kernel dependency to reflect current status.

Resolves: rhbz#2071648

Signed-off-by: Andrew Walsh <awalsh@redhat.com>
This commit is contained in:
Andrew Walsh 2022-07-28 01:44:14 +00:00
parent 0472723295
commit 91d3097360
2 changed files with 1200 additions and 1 deletions

1193
add_lz4_dependency.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,12 +6,13 @@
%define kmod_name kvdo %define kmod_name kvdo
%define kmod_driver_version %{gittag} %define kmod_driver_version %{gittag}
%define kmod_rpm_release %{spec_release} %define kmod_rpm_release %{spec_release}
%define kmod_kernel_version 5.14.0-130.el9 %define kmod_kernel_version 5.14.0-136.el9
%define kmod_headers_version %(rpm -qa kernel-devel | sed 's/^kernel-devel-//') %define kmod_headers_version %(rpm -qa kernel-devel | sed 's/^kernel-devel-//')
%define kmod_kbuild_dir . %define kmod_kbuild_dir .
%define kmod_devel_package 0 %define kmod_devel_package 0
Source0: https://github.com/dm-vdo/%{kmod_name}/archive/%{commit}/%{kmod_name}-%{shortcommit}.tar.gz Source0: https://github.com/dm-vdo/%{kmod_name}/archive/%{commit}/%{kmod_name}-%{shortcommit}.tar.gz
Patch0: add_lz4_dependency.patch
%define findpat %( echo "%""P" ) %define findpat %( echo "%""P" )
@ -103,6 +104,7 @@ printf '%s\n' "${modules[@]}" | %{_sbindir}/weak-modules --dracut=/usr/bin/dracu
%prep %prep
%setup -n %{kmod_name}-%{commit} %setup -n %{kmod_name}-%{commit}
%patch0 -p1
%{nil} %{nil}
set -- * set -- *
mkdir source mkdir source
@ -151,6 +153,10 @@ install -m 644 -D source/greylist.txt $RPM_BUILD_ROOT/usr/share/doc/kmod-%{kmod_
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Jul 27 2022 - Andy Walsh <awalsh@redhat.com> - 8.2.0.2-42
- Added missing lz4 libs to rebased code
- Resolves: rhbz#2071648
* Tue Jul 19 2022 - Andy Walsh <awalsh@redhat.com> - 8.2.0.2-41 * Tue Jul 19 2022 - Andy Walsh <awalsh@redhat.com> - 8.2.0.2-41
- Rebased to latest upstream candidate. - Rebased to latest upstream candidate.
- Resolves: rhbz#2071648 - Resolves: rhbz#2071648