Accepting request 701521 from GNOME:Next

- Move RPM macros to %_rpmmacrodir.

OBS-URL: https://build.opensuse.org/request/show/701521
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=76
This commit is contained in:
Bjørn Lie 2019-05-09 20:25:49 +00:00 committed by Git OBS Bridge
parent 452c5bdf10
commit 497ef8edfb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 8 09:02:39 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Move RPM macros to %_rpmmacrodir.
-------------------------------------------------------------------
Wed Apr 17 11:30:22 CEST 2019 - kukuk@suse.de

View File

@ -25,7 +25,6 @@ Group: System/X11/Utilities
URL: https://gitlab.freedesktop.org/xdg/shared-mime-info/
Source0: %{name}-%{version}.tar.xz
Source1: macros.shared-mime-info
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libtool
@ -68,7 +67,7 @@ NOCONFIGURE=1 ./autogen.sh
%make_install
%find_lang %{name} %{?no_lang_C}
# Install rpm macros
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.shared-mime-info
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.shared-mime-info
%check
make %{?_smp_mflags} check
@ -89,7 +88,7 @@ export PKGSYSTEM_ENABLE_FSYNC=0
%{_datadir}/pkgconfig/*.pc
%ghost %{_datadir}/mime/[a-ms-vxX]*
%{_mandir}/man?/*%{ext_man}
%{_rpmconfigdir}/macros.d/macros.shared-mime-info
%{_rpmmacrodir}/macros.shared-mime-info
%files lang -f %{name}.lang