kmod-redhat-oracleasm.spec: obsolete old kernel-specific sub-packages

Resolves: #2228579
This commit is contained in:
Eugene Syromiatnikov 2022-08-02 10:17:39 +02:00
parent 61b1e08dc6
commit ccb522eb1f

View File

@ -3,9 +3,9 @@
%define kmod_rpm_name kmod-redhat-oracleasm %define kmod_rpm_name kmod-redhat-oracleasm
%define kmod_driver_version 2.0.8 %define kmod_driver_version 2.0.8
%define kmod_driver_epoch 8 %define kmod_driver_epoch 8
%define kmod_rpm_release 13 %define kmod_rpm_release 14
%define kmod_kernel_version 4.18.0-369.el8 %define kmod_kernel_version 4.18.0-413.el8
%define kmod_kernel_version_min 4.18.0-361.el8 %define kmod_kernel_version_min 4.18.0-413.el8
%define kmod_kernel_version_dep 4.18.0 %define kmod_kernel_version_dep 4.18.0
%define kmod_kbuild_dir drivers/block/oracleasm %define kmod_kbuild_dir drivers/block/oracleasm
%define kmod_install_path extra/kmod-redhat-oracleasm %define kmod_install_path extra/kmod-redhat-oracleasm
@ -65,6 +65,8 @@ Requires: kernel >= 4.18.0-240.el8
# if there are multiple kmods for the same driver from different vendors, # if there are multiple kmods for the same driver from different vendors,
# they should conflict with each other. # they should conflict with each other.
Conflicts: kmod-%{kmod_name} Conflicts: kmod-%{kmod_name}
Obsoletes: %{name}-kernel_4_18_0_240
Obsoletes: %{name}-kernel_4_18_0_240_14_1
%description %description
oracleasm kernel module oracleasm kernel module
@ -215,6 +217,9 @@ install -m 644 -D source/greylist.txt $RPM_BUILD_ROOT/usr/share/doc/%{kmod_rpm_n
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jul 18 2022 Eugene Syromiatnikov <esyr@redhat.com> 2.0.8-14
- Add Obsoletes: tag for old kernel-specific sub-packages (#1974732).
* Mon Feb 21 2022 Eugene Syromiatnikov <esyr@redhat.com> 2.0.8-13 * Mon Feb 21 2022 Eugene Syromiatnikov <esyr@redhat.com> 2.0.8-13
- Update bdi->capabilities assignment due to change in the value semantics - Update bdi->capabilities assignment due to change in the value semantics
(#2060479). (#2060479).