add help for Recommends

(cherry picked from commit 653d193420bd276ffdddc9ea398a7c3c877617b6)
This commit is contained in:
jinzhimin369 2020-11-11 16:56:27 +08:00 committed by openeuler-sync-bot
parent eb0b5014de
commit c91e2eadfe

View File

@ -1,6 +1,6 @@
Name: i2c-tools
Version: 4.1
Release: 2
Release: 3
Summary: A heterogeneous set of I2C tools for Linux
License: GPLv2+ LGPLv2+
URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools
@ -10,6 +10,7 @@ BuildRequires: perl-generators
BuildRequires: python3-devel
BuildRequires: gcc
Recommends: %{name}-help = %{version}-%{release}
Requires: systemd-udev kmod
Provides: libi2c%{?_isa} = %{version}-%{release}
Obsoletes: libi2c
@ -161,6 +162,9 @@ exit 0
%{_sbindir}/i2c-stub*
%changelog
* Wed Nov 11 2020 xinghe <xinghe1@huawei.com> - 4.1-3
- add help for Recommends
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 4.1-2
- rebuild for package build