From ea2ae4ee8e1ad9de2aebf7650e8d8f44a2bf09539cad04098fd352bfe9c2cd5f Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Sun, 3 Sep 2023 15:35:09 +0000 Subject: [PATCH] Accepting request 1108512 from home:luc14n0:branches:GNOME:Factory Expand the rest of generated lang sub-packages to handle its previous name change from WebKit2GTK-lang to WebKitGTK-lang (boo#1214835, boo#1214640) OBS-URL: https://build.opensuse.org/request/show/1108512 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=413 --- webkit2gtk3.changes | 8 ++++++++ webkit2gtk3.spec | 12 +++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index fba75f9..b83ccf8 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 1 19:57:17 UTC 2023 - Luciano Santos + +- Expand lang sub-package in spec file to handle its previous name + change from WebKit2GTK-lang to WebKitGTK-lang in the %else part + of the "%{flavor}" == "gtk3-soup2" if clause (boo#1214835, + boo#1214640). The name change happened with the 2.40.0 release. + ------------------------------------------------------------------- Wed Aug 2 18:25:12 UTC 2023 - Michael Gorse diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 5a86fd2..6dffde5 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -431,7 +431,17 @@ BuildArch: noarch %description -n WebKitGTK-%{_apiver}-lang Provides translations for the "%{name}" package. %else -%lang_package -n WebKitGTK-%{_apiver} + +%package -n WebKitGTK-%{_apiver}-lang +Summary: Translations for package %{name} +Group: System/Localization +Requires: WebKitGTK-%{_apiver} = %{version} +Provides: WebKitGTK-%{_apiver}-lang-all = %{version} +Obsoletes: WebKit2GTK-lang < 2.40.0 +BuildArch: noarch + +%description -n WebKitGTK-%{_apiver}-lang +Provides translations for the "%{name}" package. %endif %prep