Accepting request 842123 from GNOME:Next

- Add priority of 20 to gschema override, otherwise you can't
  override it

OBS-URL: https://build.opensuse.org/request/show/842123
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2-branding?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2020-10-19 12:38:35 +00:00 committed by Git OBS Bridge
parent bbc87762b9
commit 3faf55b7f2
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 11 17:39:25 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Add priority of 20 to gschema override, otherwise you can't
override it
-------------------------------------------------------------------
Fri Sep 18 12:36:04 UTC 2020 - Frederic Crozat <fcrozat@suse.com>

View File

@ -98,21 +98,21 @@ sed "s:@@IF_openSUSE@@::g" < glib2-branding.gschema.override | \
%if 0%{?sle_version}
sed "s:@@IF_LEAP@@::g" | \
%endif
grep -v ^@@IF_ > %{branding_name}-branding.gschema.override
grep -v ^@@IF_ > 20_%{branding_name}-branding.gschema.override
%endif
%if 0%{?build_SLE}
sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > %{branding_name}-branding.gschema.override
sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 20_%{branding_name}-branding.gschema.override
%endif
%install
install -d %{buildroot}%{_sysconfdir}
install -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/
install -d %{buildroot}%{_datadir}/glib-2.0/schemas
install -m0644 %{branding_name}-branding.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/
install -m0644 20_%{branding_name}-branding.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/
%files -n gio-branding-%{branding_name}
%license COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%{_datadir}/glib-2.0/schemas/%{branding_name}-branding.gschema.override
%{_datadir}/glib-2.0/schemas/20_%{branding_name}-branding.gschema.override
%changelog