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