Accepting request 355257 from GNOME:Factory
1 OBS-URL: https://build.opensuse.org/request/show/355257 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=169
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 11:45:40 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Fix default mime handler associtations: since GLIB 2.42, the file
|
||||
in question is no longer defaults.list (too unspecific), but is
|
||||
called mimeapps.list. Touch and link the right files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 6 23:36:53 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
|
18
glib2.spec
18
glib2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package glib2
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -299,10 +299,10 @@ install -D -m0644 glib2.csh %{buildroot}%{_sysconfdir}/profile.d/zzz-glib2.csh
|
||||
install -D -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/gnome_defaults.conf
|
||||
# default apps magic
|
||||
mkdir -p %{buildroot}%{_localstatedir}/cache/gio-2.0 %{buildroot}%{_datadir}/applications
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/gnome-defaults.list
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/xfce-defaults.list
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/lxde-defaults.list
|
||||
ln -s %{_localstatedir}/cache/gio-2.0/gnome-defaults.list %{buildroot}%{_datadir}/applications/defaults.list
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/gnome-mimeapps.list
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/xfce-mimeapps.list
|
||||
touch %{buildroot}%{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list
|
||||
ln -s %{_localstatedir}/cache/gio-2.0/gnome-mimeapps.list %{buildroot}%{_datadir}/applications/mimeapps.list
|
||||
# gio-querymodules magic
|
||||
%if "%{_lib}" == "lib64"
|
||||
mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-64
|
||||
@@ -438,11 +438,11 @@ fi
|
||||
%dir %{_datadir}/glib-2.0/
|
||||
%dir %{_datadir}/glib-2.0/schemas/
|
||||
%ghost %{_datadir}/glib-2.0/schemas/gschemas.compiled
|
||||
%{_datadir}/applications/defaults.list
|
||||
%{_datadir}/applications/mimeapps.list
|
||||
%dir %{_localstatedir}/cache/gio-2.0
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/gnome-defaults.list
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/xfce-defaults.list
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/lxde-defaults.list
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/gnome-mimeapps.list
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/xfce-mimeapps.list
|
||||
%ghost %{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list
|
||||
|
||||
%files -n libgio-fam
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user