Xinliang Liu 7e4470e8fa Fix rpmlint Provides/Obsoletes unversioned warnings
It is recommended to specify version info for Provides/Obsoletes tags,
see Fedora rpm guide[1] for more details about Obsolete tag usage.

This also can fix below dnf update failure after installing lustre version
e2fsprogs rpm.
$ sudo dnf update
Last metadata expiration check: 0:00:29 ago on Tue Jul  4 11:06:44 2023.
Error:
 Problem 1: cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-libs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
 Problem 2: problem with installed package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package libcom_err-1.46.6.wc1-0.oe1.aarch64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to us
e not only best candidate packages)

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2023-07-10 09:31:25 +00:00
2020-06-13 13:26:43 +08:00
Description
No description provided
36 MiB
Languages
C 100%