SHA256
1
0
forked from pool/webkit2gtk3

Accepting request 939143 from home:yfjiang:branches:GNOME:Factory

- Add Obsoletes of the old-name -lang package to be ready for
  updating from it. This change is necessary for the gtk3-soup2
  flavor.

OBS-URL: https://build.opensuse.org/request/show/939143
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=320
This commit is contained in:
Bjørn Lie 2021-12-10 18:52:54 +00:00 committed by Git OBS Bridge
parent 3606e00f1d
commit 60272dc02b
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 8 08:07:59 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
- Add Obsoletes of the old-name -lang package to be ready for
updating from it. This change is necessary for the gtk3-soup2
flavor.
-------------------------------------------------------------------
Sat Nov 27 15:20:11 UTC 2021 - Michael Gorse <mgorse@suse.com>

View File

@ -321,7 +321,21 @@ 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 WebKit2GTK-%{_apiver}-lang
Summary: Translations for package %{name}
Group: System/Localization
Requires: WebKit2GTK-%{_apiver} = %{version}
Provides: WebKit2GTK-%{_apiver}-lang-all = %{version}
Obsoletes: libwebkit2gtk3-lang
BuildArch: noarch
%description -n WebKit2GTK-%{_apiver}-lang
Provides translations for the "%{name}" package.
%else
%lang_package -n WebKit2GTK-%{_apiver}
%endif
%prep
%autosetup -p1 -n webkitgtk-%{version}