Accepting request 701522 from GNOME:Next

- Move glib2.macros to %_rpmmacrodir. /etc is for the system admin.

OBS-URL: https://build.opensuse.org/request/show/701522
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=390
This commit is contained in:
Bjørn Lie 2019-05-09 20:25:35 +00:00 committed by Git OBS Bridge
parent 4889281965
commit 934b1911fc
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 8 08:53:16 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Move glib2.macros to %_rpmmacrodir. /etc is for the system admin.
-------------------------------------------------------------------
Fri May 3 17:19:40 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -176,10 +176,10 @@ object files (commonly known as 'plug-ins').
%package -n libgio-2_0-0
Summary: A virtual file system library API
Group: System/Libraries
# The tools are useful for people having libgio
# bnc#555605: shared-mime-info is required by libgio to properly detect mime types, but not during build
#!BuildIgnore: shared-mime-info
Group: System/Libraries
Requires: %{name}-tools
# bnc#678518: libgio interacts with others by means of dbus-launch
Requires: dbus-launch
@ -306,8 +306,8 @@ touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
# gsettings magic
touch %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled
# Install rpm macros
mkdir -p %{buildroot}%{_sysconfdir}/rpm
cp %{SOURCE6} %{buildroot}%{_sysconfdir}/rpm
mkdir -p %{buildroot}%{_rpmmacrodir}
cp %{SOURCE6} %{buildroot}%{_rpmmacrodir}
# Install zsh completion for gsettings
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions/
cp %{SOURCE8} %{buildroot}%{_datadir}/zsh/site-functions/_gsettings
@ -478,7 +478,7 @@ done
%{_datadir}/systemtap/tapset/*/libglib-*.so.*.stp
%{_datadir}/systemtap/tapset/*/libgobject-*.so.*.stp
%endif
%{_sysconfdir}/rpm/macros.glib2
%{_rpmmacrodir}/macros.glib2
# Own these directories to not avoid breakages throughout the project
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html