Fixes pkg-config issue

This commit is contained in:
Peng Wu 2019-02-11 12:07:18 +08:00
parent 7565e0df0a
commit 68e0a690b2
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,18 @@
commit d0cb6be7431d1a3c711bd45bcf05b34601604037
Author: Tom Schoonjans <tom.schoonjans@diamond.ac.uk>
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'),

View File

@ -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 <pwu@redhat.com> - 1.43.0-3
- Fixes pkg-config issue
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.43.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild