Upgrade nmstate-libs along with nmstate rpm when installed
https://issues.redhat.com/browse/RHEL-52890 suggest nmstate rpm to depend on nmstate-libs when nmstate-libs installed, with this we can force upgrading both nmstate-libs and nmstate at the same time. It does not any dependency between nmstate and nmstate-libs as we are rust project, this is purely for user experience on manual rpm upgrade. Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
14312fee95
commit
4cbe1d99e6
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.g
|
|||
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
|
||||
Source2: https://nmstate.io/nmstate.gpg
|
||||
Source3: %{url}/releases/download/v%{version}/%{srcname}-vendor-%{version}.tar.xz
|
||||
# Force nmstate-libs upgrade along with nmstate rpm when installed
|
||||
# https://issues.redhat.com/browse/RHEL-52890
|
||||
Requires: (nmstate-libs%{?_isa} = %{version}-%{release} if nmstate-libs)
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: gnupg2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue