Add conflicts to enable new (sub)packages installable independently of the original package.

Signed-off-by: Sundeep Anand <suanand@redhat.com>
This commit is contained in:
Sundeep Anand 2022-09-07 15:31:23 +05:30
parent b032e270f1
commit 9f90d44d44
1 changed files with 6 additions and 1 deletions

View File

@ -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}-runtime <= 0.21-17%{?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 <suanand@redhat.com> - 0.21-19.0.20220203
- Add conflicts to enable new (sub)packages installable independently of the original package.
* Wed Aug 10 2022 Honza Horak <hhorak@redhat.com> - 0.21-18.0.20220203
- Introduce envsubst sub-package for allow install envsubst with minimal
footprint