From adb95f50203522263692adec1757a39ed0414e0b Mon Sep 17 00:00:00 2001 From: Sundeep Anand Date: Wed, 7 Sep 2022 15:31:23 +0530 Subject: [PATCH] Add conflicts to enable new (sub)packages installable independently of the original package. Signed-off-by: Sundeep Anand --- gettext.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gettext.spec b/gettext.spec index 42c6b8b..12226f0 100644 --- a/gettext.spec +++ b/gettext.spec @@ -5,7 +5,7 @@ Summary: GNU tools and libraries for localized translated messages Name: gettext Version: 0.21 -Release: 18.0.%{snapshot}%{?dist} +Release: 19.0.%{snapshot}%{?dist} # The following are licensed under LGPLv2+: # - libintl and its headers @@ -100,6 +100,7 @@ License: GPLv3+ and LGPLv2+ # Depend on the exact version of the library sub package Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-envsubst = %{version}-%{release} +Conflicts: %{name} <= 0.21-15%{?dist}.0.20220203 %description runtime @@ -174,6 +175,7 @@ think about. %package envsubst Summary: Substitutes the values of environment variables +Conflicts: %{name} <= 0.21-15%{?dist}.0.20220203 %description envsubst Substitutes the values of environment variables. @@ -413,6 +415,9 @@ make check LIBUNISTRING=-lunistring %{_mandir}/man1/msghack.1* %changelog +* Mon Sep 12 2022 Sundeep Anand - 0.21-19.0.20220203 +- Add conflicts to enable new (sub)packages installable independently of the original package. + * Wed Aug 10 2022 Honza Horak - 0.21-18.0.20220203 - Introduce envsubst sub-package for allow install envsubst with minimal footprint