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 adb95f5020

View File

@ -5,7 +5,7 @@
Summary: GNU tools and libraries for localized translated messages Summary: GNU tools and libraries for localized translated messages
Name: gettext Name: gettext
Version: 0.21 Version: 0.21
Release: 18.0.%{snapshot}%{?dist} Release: 19.0.%{snapshot}%{?dist}
# The following are licensed under LGPLv2+: # The following are licensed under LGPLv2+:
# - libintl and its headers # - libintl and its headers
@ -100,6 +100,7 @@ License: GPLv3+ and LGPLv2+
# Depend on the exact version of the library sub package # Depend on the exact version of the library sub package
Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: %{name}-envsubst = %{version}-%{release} Requires: %{name}-envsubst = %{version}-%{release}
Conflicts: %{name} <= 0.21-15%{?dist}.0.20220203
%description runtime %description runtime
@ -174,6 +175,7 @@ think about.
%package envsubst %package envsubst
Summary: Substitutes the values of environment variables Summary: Substitutes the values of environment variables
Conflicts: %{name} <= 0.21-15%{?dist}.0.20220203
%description envsubst %description envsubst
Substitutes the values of environment variables. Substitutes the values of environment variables.
@ -413,6 +415,9 @@ make check LIBUNISTRING=-lunistring
%{_mandir}/man1/msghack.1* %{_mandir}/man1/msghack.1*
%changelog %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 * Wed Aug 10 2022 Honza Horak <hhorak@redhat.com> - 0.21-18.0.20220203
- Introduce envsubst sub-package for allow install envsubst with minimal - Introduce envsubst sub-package for allow install envsubst with minimal
footprint footprint