From 2402736b3c0bdf94c260c22d986f5b4e67e1e46fc87ff2311861e1ce0e38715d Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Wed, 4 Oct 2023 09:21:18 +0000 Subject: [PATCH] Accepting request 1114993 from home:alarrosa:branches:GNOME:Factory - Support building with meson 0.61.x used by SLE, where .pc files in dataonly packages are installed to %_libdir unlike in meson >= 0.62.0 where the default was changed to %_datadir. OBS-URL: https://build.opensuse.org/request/show/1114993 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-desktop-portal?expand=0&rev=73 --- xdg-desktop-portal.changes | 7 +++++++ xdg-desktop-portal.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/xdg-desktop-portal.changes b/xdg-desktop-portal.changes index 04ad6aa..aa7536d 100644 --- a/xdg-desktop-portal.changes +++ b/xdg-desktop-portal.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 3 12:20:53 UTC 2023 - Antonio Larrosa + +- Support building with meson 0.61.x used by SLE, where .pc files + in dataonly packages are installed to %_libdir unlike in + meson >= 0.62.0 where the default was changed to %_datadir. + ------------------------------------------------------------------- Mon Sep 18 19:45:54 UTC 2023 - Bjørn Lie diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index 35e96b0..5fdf649 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -111,7 +111,11 @@ This package contains convenience files for developers. %files devel %doc %{_datadir}/doc/%{name}/ +%if %{pkg_vcmp meson < 0.62.0 } +%{_libdir}/pkgconfig/%{name}.pc +%else %{_datadir}/pkgconfig/%{name}.pc +%endif %files lang -f %{name}.lang