Add conflicts clauses for the subpackages

This commit is contained in:
Sergio Correia 2022-02-08 09:31:09 -03:00
parent 1295186eae
commit 2e877b5368

View File

@ -2,7 +2,7 @@
Name: keylime Name: keylime
Version: 6.3.0 Version: 6.3.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: Open source TPM software for Bootstrapping and Maintaining Trust Summary: Open source TPM software for Bootstrapping and Maintaining Trust
BuildArch: noarch BuildArch: noarch
@ -48,6 +48,9 @@ and runtime integrity measurement solution.
Summary: The base package contains the default configuration Summary: The base package contains the default configuration
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires: efivar-libs Requires: efivar-libs
Requires: procps-ng Requires: procps-ng
@ -62,6 +65,9 @@ The base package contains the Keylime default configuration
Summary: The Python Keylime module Summary: The Python Keylime module
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{srcname}}
@ -74,6 +80,8 @@ by Keylime components.
Summary: The Python Keylime Verifier component Summary: The Python Keylime Verifier component
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -96,6 +104,10 @@ of the machine that the agent is running on.
%package registrar %package registrar
Summary: The Keylime Registrar component Summary: The Keylime Registrar component
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -118,6 +130,9 @@ with Keylime and hosts the public keys of the TPM vendors.
Summary: The Python Keylime Agent Summary: The Python Keylime Agent
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -144,6 +159,9 @@ payload released once trust is established.
Summary: The Python Keylime Tenant Summary: The Python Keylime Tenant
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -155,6 +173,9 @@ The Keylime Tenant can be used to provision a Keylime Agent.
Summary: The Python Keylime WebApp GUI Summary: The Python Keylime WebApp GUI
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -166,6 +187,9 @@ Requires: python3-requests
Requires: python3-zmq Requires: python3-zmq
Requires: python3-gnupg Requires: python3-gnupg
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
%description webapp %description webapp
The Keylime WebApp GUI interface can be used to provision a Keylime Agent. The Keylime WebApp GUI interface can be used to provision a Keylime Agent.
@ -174,6 +198,9 @@ The Keylime WebApp GUI interface can be used to provision a Keylime Agent.
Summary: Keylime tools Summary: Keylime tools
License: MIT License: MIT
# Conflicts with the monolithic versions of the package, before the split.
Conflicts: keylime < 6.3.0-3
Requires: %{srcname}-base = %{version}-%{release} Requires: %{srcname}-base = %{version}-%{release}
Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-%{srcname} = %{version}-%{release}
@ -305,6 +332,9 @@ exit 0
%license LICENSE %license LICENSE
%changelog %changelog
* Tue Feb 08 2022 Sergio Correia <scorreia@redhat.com> - 6.0.3-4
- Add Conflicts clauses for the subpackages
* Mon Feb 07 2022 Sergio Correia <scorreia@redhat.com> - 6.3.0-3 * Mon Feb 07 2022 Sergio Correia <scorreia@redhat.com> - 6.3.0-3
- Split keylime into subpackages - Split keylime into subpackages
Related: rhbz#2045874 - Keylime subpackaging and agent alternatives Related: rhbz#2045874 - Keylime subpackaging and agent alternatives