diff --git a/00-fix-gdbus-codegen.patch b/00-fix-gdbus-codegen.patch new file mode 100644 index 0000000..9977f41 --- /dev/null +++ b/00-fix-gdbus-codegen.patch @@ -0,0 +1,13 @@ +diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py +index 9d9099f..1cfe7c1 100755 +--- a/gio/gdbus-2.0/codegen/codegen_main.py ++++ b/gio/gdbus-2.0/codegen/codegen_main.py +@@ -209,7 +209,7 @@ def codegen_main(): + print_error('Using --body requires --output') + + c_file = args.output +- header_name = os.path.splitext(c_file)[0] + '.h' ++ header_name = os.path.splitext(os.path.basename(c_file))[0] + '.h' + + all_ifaces = [] + for fname in args.files + args.xml_files: diff --git a/glib2.spec b/glib2.spec index ec87d88..e0ee2b9 100644 --- a/glib2.spec +++ b/glib2.spec @@ -5,13 +5,17 @@ Name: glib2 Version: 2.56.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library of handy utility functions License: LGPLv2+ URL: http://www.gtk.org Source0: http://download.gnome.org/sources/glib/2.56/glib-%{version}.tar.xz +# Include upstream patch to fix gdbus-codegen when used with meson 0.46 +# https://gitlab.gnome.org/GNOME/glib/commit/cd1f82d8fc741a2203582c12cc21b4dacf7e1872 +Patch0: 00-fix-gdbus-codegen.patch + BuildRequires: chrpath BuildRequires: gettext BuildRequires: perl-interpreter @@ -217,6 +221,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/installed-tests %changelog +* Sun May 13 2018 Fabio Valentini - 2.56.1-2 +- Include upstream patch to fix gdbus-codegen with meson 0.46. + * Sun Apr 08 2018 Kalev Lember - 2.56.1-1 - Update to 2.56.1