Accepting request 1108740 from GNOME:Factory

Expand lang sub-packages unconditionally to handle previous name change of WebKit2GTK-lang to WebKitGTK-lang  (boo#1214835, boo#1214640)

OBS-URL: https://build.opensuse.org/request/show/1108740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/webkit2gtk3?expand=0&rev=174
This commit is contained in:
Ana Guerrero 2023-09-06 16:55:26 +00:00 committed by Git OBS Bridge
commit 801f66ddad
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 1 19:57:17 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Expand lang sub-package in spec file unconditionally to handle
previous name change from WebKit2GTK-lang to WebKitGTK-lang. This
change affected the automatic generated Requires tag on
WebKit2GTK-%{_apiver}, then getting out of sync of what's being
required and what's being provided. Now, any sub-package that was
providing WebKit2GTK-%{_apiver} will provide WebKitGTK-%{_apiver}
instead (boo#1214835, boo#1214640).
-------------------------------------------------------------------
Wed Aug 2 18:25:12 UTC 2023 - Michael Gorse <mgorse@suse.com>

View File

@ -418,21 +418,19 @@ Group: Development/Tools/Other
%description minibrowser
A small test browswer from webkit, useful for testing features.
# Expand %%lang_package to Obsoletes its older-name counterpart
%if "%{flavor}" == "gtk3-soup2"
%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
Obsoletes: libwebkit2gtk3-lang < %{version}
BuildArch: noarch
%description -n WebKitGTK-%{_apiver}-lang
Provides translations for the "%{name}" package.
%else
%lang_package -n WebKitGTK-%{_apiver}
%endif
%prep
%autosetup -p1 -n webkitgtk-%{version}