add %{epoch}

This commit is contained in:
wguanghao 2020-11-12 19:13:35 +08:00
parent ba66783b0b
commit 8a15b68205

View File

@ -43,7 +43,7 @@
Name: lvm2
Version: 2.03.09
Release: 4
Release: 5
Epoch: 8
Summary: Tools for logical volume management
License: GPLv2 and LGPLv2
@ -94,7 +94,7 @@ Requires: bash >= %{bash_version}
Requires: module-init-tools
Requires: device-mapper-persistent-data >= %{persistent_data_version}
Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
Requires: %{name}-help = %{version}-%{release}
Requires: %{name}-help = %{epoch}:%{version}-%{release}
Requires(post): systemd-units >= %{systemd_version}, systemd-sysv
Requires(preun): systemd-units >= %{systemd_version}
Requires(postun): systemd-units >= %{systemd_version}
@ -484,6 +484,9 @@ fi
%changelog
* Thu Nov 12 2020 wuguanghao <wuguanghao3@huawei.com> - 8.2.03.09-5
- add epoch to the version of help package required
* Tue Nov 10 2020 lixiaokeng <lixiaokeng@huawei.com> - 8.2.03.09-4
- Set help package as install requires.