Fix pkgconfig output concatenation with pkgconfig-0.29
This commit is contained in:
parent
f56411741a
commit
b37a1b093b
|
@ -0,0 +1,18 @@
|
||||||
|
From: bitcardbmw [...] lsmod.de
|
||||||
|
|
||||||
|
When constructing the $libs variable, there is a blank missing
|
||||||
|
before the -lpangocairo-1.0 coming from the pangocairo.pc through
|
||||||
|
pkg-config. Inserting an extra blank before the pkg-config
|
||||||
|
result fixes the issue.
|
||||||
|
|
||||||
|
CPAN RT#111117
|
||||||
|
--- Makefile.PL 2014-02-19 05:13:50.000000000 +0100
|
||||||
|
+++ Makefile.PL 2015-10-08 00:47:59.777157391 +0200
|
||||||
|
@@ -161,6 +161,7 @@
|
||||||
|
if ($have_cairo) {
|
||||||
|
push @deps, qw/Cairo/;
|
||||||
|
$inc .= $pangocairo_pkgcfg{cflags};
|
||||||
|
+ $libs .= ' ';
|
||||||
|
$libs .= $pangocairo_pkgcfg{libs};
|
||||||
|
}
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
Name: perl-Pango
|
Name: perl-Pango
|
||||||
Version: 1.226
|
Version: 1.226
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Perl interface to the pango library
|
Summary: Perl interface to the pango library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://search.cpan.org/dist/Pango/
|
URL: http://search.cpan.org/dist/Pango/
|
||||||
Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
|
||||||
|
# Fix pkgconfig output concatenation with pkgconfig-0.29, bug #1297705
|
||||||
|
Patch0: Pango-1.226-fix-pangocairo_libs.patch
|
||||||
BuildRequires: perl(ExtUtils::Depends) >= 0.300
|
BuildRequires: perl(ExtUtils::Depends) >= 0.300
|
||||||
BuildRequires: perl(ExtUtils::PkgConfig)
|
BuildRequires: perl(ExtUtils::PkgConfig)
|
||||||
BuildRequires: perl(Cairo) >= 1.000
|
BuildRequires: perl(Cairo) >= 1.000
|
||||||
|
@ -25,6 +27,7 @@ complete solution with high quality text handling and graphics rendering.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Pango-%{version}
|
%setup -q -n Pango-%{version}
|
||||||
|
%patch0 -p0
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
chmod -c a-x examples/*.pl
|
chmod -c a-x examples/*.pl
|
||||||
|
@ -52,6 +55,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
%{_mandir}/man3/*.3pm*
|
%{_mandir}/man3/*.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 1.226-6
|
||||||
|
- Fix pkgconfig output concatenation with pkgconfig-0.29 (bug #1297705)
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.226-5
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.226-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue