Adjusted kernel dependencies to grab the right packages.
- Resolves: rhbz#2022464 Rebuilt for latest kernel. - Related: rhbz#2000926
This commit is contained in:
parent
4b79437111
commit
1037d3d46a
@ -1,12 +1,12 @@
|
|||||||
%global commit f9d6d185c211659b656b0b81fed875d4e86ffd41
|
%global commit f9d6d185c211659b656b0b81fed875d4e86ffd41
|
||||||
%global gittag 8.1.1.287
|
%global gittag 8.1.1.287
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
%define spec_release 11
|
%define spec_release 12
|
||||||
|
|
||||||
%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-50.el9
|
%define kmod_kernel_version 5.14.0-52.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
|
||||||
@ -38,12 +38,11 @@ ExcludeArch: s390
|
|||||||
%global kernel_source() /usr/src/kernels/%{kmod_headers_version}
|
%global kernel_source() /usr/src/kernels/%{kmod_headers_version}
|
||||||
|
|
||||||
%global _use_internal_dependency_generator 0
|
%global _use_internal_dependency_generator 0
|
||||||
Provides: kernel-modules = %{kmod_kernel_version}.%{_target_cpu}
|
|
||||||
Provides: kmod-%{kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: kmod-%{kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Requires(post): %{_sbindir}/weak-modules
|
Requires(post): %{_sbindir}/weak-modules
|
||||||
Requires(postun): %{_sbindir}/weak-modules
|
Requires(postun): %{_sbindir}/weak-modules
|
||||||
Requires: kernel >= %{kmod_kernel_version}
|
Requires: kernel-core-uname-r >= %{kmod_kernel_version}
|
||||||
Requires: kernel-core-uname-r >= %{kmod_kernel_version}
|
Requires: kernel-modules-uname-r >= %{kmod_kernel_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Data Optimizer (VDO) is a device mapper target that delivers
|
Virtual Data Optimizer (VDO) is a device mapper target that delivers
|
||||||
@ -152,6 +151,12 @@ 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
|
||||||
|
* Thu Feb 03 2022 - Andy Walsh <awalsh@redhat.com> - 8.1.1.287-12
|
||||||
|
- Adjusted kernel dependencies to grab the right packages.
|
||||||
|
- Resolves: rhbz#2022464
|
||||||
|
- Rebuilt for latest kernel.
|
||||||
|
- Related: rhbz#2000926
|
||||||
|
|
||||||
* Mon Jan 31 2022 - Andy Walsh <awalsh@redhat.com> - 8.1.1.287-11
|
* Mon Jan 31 2022 - Andy Walsh <awalsh@redhat.com> - 8.1.1.287-11
|
||||||
- Rebuilt for latest kernel.
|
- Rebuilt for latest kernel.
|
||||||
- Related: rhbz#2000926
|
- Related: rhbz#2000926
|
||||||
|
Loading…
Reference in New Issue
Block a user