#21 Add conflicts to enable new (sub)packages installable independently of original package
Merged 2 years ago by suanand. Opened 2 years ago by suanand.
rpms/ suanand/gettext add-conflicts  into  rawhide

file modified
+6 -1
@@ -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 @@ 

  # 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 @@ 

  

  %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 @@ 

  %{_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

no initial comment

Build succeeded.

rebased onto 901781df3699f5fbf4f8630ce822dd29fc1dcf86

2 years ago

Build succeeded.

rebased onto 9f90d44

2 years ago

Build succeeded.

rebased onto adb95f5

2 years ago

Build succeeded.

LGTM

I tested in a F36 container with:

$ podman run -it --rm fedora:36
# dnf install koji-tool
# koji-tool install koji-tool -d .fc38
# dnf install gettext
# koji-tool install 91932416 -a runtime -a envsubst
# dnf downgrade gettext --allowerasing

Pull-Request has been merged by suanand

2 years ago
Metadata