From 47faff9b58787947cf406bc828bb62bdd46807ec Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Sat, 20 Feb 2021 17:51:03 +0100 Subject: [PATCH] Add Conflicts to avoid update/downgrade issues --- adcli.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/adcli.spec b/adcli.spec index b4ce2f9..24ecce3 100644 --- a/adcli.spec +++ b/adcli.spec @@ -1,6 +1,6 @@ Name: adcli Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Active Directory enrollment License: LGPLv2+ URL: https://gitlab.freedesktop.org/realmd/adcli @@ -17,6 +17,7 @@ BuildRequires: xmlto BuildRequires: make Requires: cyrus-sasl-gssapi +Conflicts: adcli-doc < %{version}-%{release} # adcli no longer has a library of development files # the adcli tool itself is to be used by callers @@ -53,6 +54,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %package doc Summary: adcli documentation BuildArch: noarch +Conflicts: adcli < %{version}-%{release} %description doc adcli is a tool for joining an Active Directory domain using @@ -63,6 +65,9 @@ documentation. %doc %{_datadir}/doc/adcli/* %changelog +* Sat Feb 20 2021 Sumit Bose - 0.9.1-2 +- Add Conflicts to avoid update/downgrade issues + * Sat Feb 20 2021 Sumit Bose - 0.9.1-1 - Update to upstream release 0.9.1