diff --git a/pango-fixes-pkg-config.patch b/pango-fixes-pkg-config.patch new file mode 100644 index 0000000..c619f55 --- /dev/null +++ b/pango-fixes-pkg-config.patch @@ -0,0 +1,18 @@ +commit d0cb6be7431d1a3c711bd45bcf05b34601604037 +Author: Tom Schoonjans +Date: Wed Dec 19 06:54:41 2018 +0000 + + pango.pc: Make gobject-2.0 a non-private requirement + +diff --git a/pango/meson.build b/pango/meson.build +index 099aed89..9dd02bdc 100644 +--- a/pango/meson.build ++++ b/pango/meson.build +@@ -159,6 +159,7 @@ pkgconfig.generate(libpango, + name: 'Pango', + description: 'Internationalized text handling', + version: meson.project_version(), ++ requires: ['gobject-2.0'], + filebase: 'pango', + subdirs: pango_api_name, + install_dir: join_paths(pango_libdir, 'pkgconfig'), diff --git a/pango.spec b/pango.spec index 841e3ba..02dc08c 100644 --- a/pango.spec +++ b/pango.spec @@ -9,12 +9,13 @@ Name: pango Version: 1.43.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: System for layout and rendering of internationalized text License: LGPLv2+ URL: http://www.pango.org Source0: https://download.gnome.org/sources/%{name}/1.43/%{name}-%{version}.tar.xz +Patch0: pango-fixes-pkg-config.patch BuildRequires: pkgconfig(cairo) >= %{cairo_version} BuildRequires: pkgconfig(freetype2) >= %{freetype_version} @@ -75,6 +76,7 @@ the functionality of the installed %{name} package. %prep %setup -q -n pango-%{version} +%patch0 -p1 -b .pc %build @@ -123,6 +125,9 @@ fi %changelog +* Mon Feb 11 2019 Peng Wu - 1.43.0-3 +- Fixes pkg-config issue + * Fri Feb 01 2019 Fedora Release Engineering - 1.43.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild