diff --git a/mingw-glib2.spec b/mingw-glib2.spec index e084d04..aff9da6 100644 --- a/mingw-glib2.spec +++ b/mingw-glib2.spec @@ -2,7 +2,7 @@ Name: mingw-glib2 Version: 2.74.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows GLib2 library License: LGPLv2+ @@ -156,9 +156,11 @@ rm -f %{buildroot}%{mingw64_libdir}/*.def # The gdbus-codegen pieces are already in the native glib2 package rm -f %{buildroot}%{mingw32_bindir}/gdbus-codegen rm -rf %{buildroot}%{mingw32_libdir}/gdbus-2.0 +sed -i 's|gdbus_codegen=.*|gdbus_codegen=%{_bindir}/gdbus-codegen|g' %{buildroot}%{mingw32_libdir}/pkgconfig/gio-2.0.pc rm -f %{buildroot}%{mingw64_bindir}/gdbus-codegen rm -rf %{buildroot}%{mingw64_libdir}/gdbus-2.0 +sed -i 's|gdbus_codegen=.*|gdbus_codegen=%{_bindir}/gdbus-codegen|g' %{buildroot}%{mingw64_libdir}/pkgconfig/gio-2.0.pc # Drop all .la files find %{buildroot} -name "*.la" -delete @@ -277,6 +279,9 @@ find %{buildroot} -name "*.la" -delete %changelog +* Mon Nov 14 2022 Marc-André Lureau - 2.74.1-2 +- Set gio-2.0.pc gdbus_codegen variable to system path. + * Sun Oct 30 2022 Sandro Mani - 2.74.1-1 - Update to 2.74.1