Update config

This commit is contained in:
eabdullin 2025-02-05 09:45:00 +03:00
parent 78eda30a2d
commit b72df01063

View File

@ -8,7 +8,7 @@ actions:
replace: | replace: |
%if !%{use_container_plugin} %if !%{use_container_plugin}
Obsoletes: subscription-manager-plugin-container <= %{version} Obsoletes: subscription-manager-plugin-container <= %{version}
endif %endif
# AlmaLinux do not provide the following packages no more # AlmaLinux do not provide the following packages no more
Obsoletes: subscription-manager-cockpit Obsoletes: subscription-manager-cockpit
@ -20,23 +20,9 @@ actions:
- target: "spec" - target: "spec"
find: "to manage subscriptions and yum repositories from the Red Hat entitlement" find: "to manage subscriptions and yum repositories from the Red Hat entitlement"
replace: "to manage subscriptions and yum repositories from the EL entitlement" replace: "to manage subscriptions and yum repositories from the EL entitlement"
count: 1
- target: "spec" - target: "spec"
find: "This package provides a plugin to interact with repositories from the Red Hat" find: "the Red Hat"
replace: "This package provides a plugin to interact with repositories from an" replace: "an"
count: 1
- target: "spec"
find: "from the Red Hat entitlement platform; contains subscription-manager and"
replace: "from an entitlement platform; contains subscription-manager and"
count: 1
- target: "spec"
find: "Summary: A Python library to communicate with a Red Hat Unified Entitlement Platform"
replace: "Summary: A Python library to communicate with Unified Entitlement Platform"
count: 1
- target: "spec"
find: "A small library for communicating with the REST interface of a Red Hat Unified"
replace: "A small library for communicating with the REST interface of Unified"
count: 1
- target: "spec" - target: "spec"
find: | find: |
# fake out the redhat.repo file # fake out the redhat.repo file
@ -91,6 +77,11 @@ actions:
%endif %endif
count: 1 count: 1
- delete_line:
- target: "spec"
lines:
- " a Red Hat"
- modify_release: - modify_release:
- suffix: ".alma.2" - suffix: ".alma.2"
enabled: true enabled: true