fix a compilation failure caused by upgrading pkgconf to 1.9.5

This commit is contained in:
dongyuzhen 2023-07-28 18:00:37 +08:00
parent 8525e73585
commit 9368557c79
2 changed files with 1114 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,13 @@
Name: perl-PkgConfig-LibPkgConf
Version: 0.11
Release: 1
Release: 2
Summary: Interface to pkg-config files via libpkgconf
License: GPL+ or Artistic
URL: https://metacpan.org/release/PkgConfig-LibPkgConf
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/PkgConfig-LibPkgConf-%{version}.tar.gz
Patch0: PkgConfig-LibPkgConf-0.11-adapt_to_pkgconf_1.9.4.patch
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
@ -21,7 +23,7 @@ Traditionally, the command line program pkg-config is used to query these
files. This package provides a Perl-level API using libpkgconf to these files.
%prep
%setup -q -n PkgConfig-LibPkgConf-%{version}
%autosetup -p1 -n PkgConfig-LibPkgConf-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
@ -43,5 +45,8 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Jul 28 2023 dongyuzhen <dongyuzhen@h-partners.com> - 0.11-2
- fix a compilation failure caused by upgrading pkgconf to 1.9.5
* Sat Aug 1 2020 dingyue <dingyue5@huawei.com> - 0.11-1
- Package init