diff --git a/SPECS/kmod-kvdo.spec b/SPECS/kmod-kvdo.spec index 53ac986..991b673 100644 --- a/SPECS/kmod-kvdo.spec +++ b/SPECS/kmod-kvdo.spec @@ -1,12 +1,12 @@ %global commit 9171ccd22122e12294888e448ef8647c2ae46ccd %global gittag 6.2.3.107 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%define spec_release 73 +%define spec_release 74 %define kmod_name kvdo %define kmod_driver_version %{gittag} %define kmod_rpm_release %{spec_release} -%define kmod_kernel_version 4.18.0-216.el8 +%define kmod_kernel_version 4.18.0-226.el8 %define kmod_headers_version %(rpm -qa kernel-devel | sed 's/^kernel-devel-//') %define kmod_kbuild_dir . %define kmod_dependencies %{nil} @@ -44,11 +44,12 @@ ExcludeArch: s390 %global kernel_source() /usr/src/kernels/%{kmod_headers_version} %global _use_internal_dependency_generator 0 -Provides: kernel-modules = %{kmod_kernel_version}.%{_target_cpu} -Provides: kmod-%{kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires(post): %{_sbindir}/weak-modules -Requires(postun): %{_sbindir}/weak-modules -Requires: kernel >= %{kmod_kernel_version} +Provides: kernel-modules = %{kmod_kernel_version}.%{_target_cpu} +Provides: kmod-%{kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires(post): %{_sbindir}/weak-modules +Requires(postun): %{_sbindir}/weak-modules +Requires: kernel >= %{kmod_kernel_version} +Requires: kernel-core-uname-r >= %{kmod_kernel_version} %if "%{kmod_build_dependencies}" != "" BuildRequires: %{kmod_build_dependencies} @@ -164,6 +165,12 @@ install -m 644 -D source/greylist.txt $RPM_BUILD_ROOT/usr/share/doc/kmod-%{kmod_ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 16 2020 - Andy Walsh - 6.2.3.107-74 +- Updated dependencies to prevent installing kernel-rt incorrectly. +- Resolves: rhbz#1811923 +- Bumped requirement for new 4.18 kernel +- Relates: rhbz#1812069 + * Fri Jun 19 2020 - Andy Walsh - 6.2.3.107-73 - Fixed a bug which can cause a soft lockup if users interrupt processes waiting on dm-setup commands.