Accepting request 177389 from home:coolo:update-perl

- updated to 1.14
     - Skip tests for pkg-config binary with the '--max-version' switch on
       OpenBSD 5.2, due to a bug in OpenBSD's implemenation of 'pkg-config'
     - Updated Makefile.PL to use a META_MERGE block with WriteMakefile(); this
       block is what MetaCPAN reads when generating page output
 
     - Correctly handle major-only versions, like '2' (RT #68246).
     - Updated FSF address and copyrights

OBS-URL: https://build.opensuse.org/request/show/177389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-PkgConfig?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2013-06-04 11:31:36 +00:00 committed by Git OBS Bridge
parent 717f6f8a9d
commit 89252452ba
4 changed files with 26 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6330b9d1165363837ac1ab014888e3d908f8fb9eb76b31a36096d0e504f6ff42
size 8429

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93d7a4fb646c643940f8dc4268af34271675bb15ed1e16baacbdfb0c17050a48
size 9814

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jun 4 08:50:16 UTC 2013 - coolo@suse.com
- updated to 1.14
- Skip tests for pkg-config binary with the '--max-version' switch on
OpenBSD 5.2, due to a bug in OpenBSD's implemenation of 'pkg-config'
- Updated Makefile.PL to use a META_MERGE block with WriteMakefile(); this
block is what MetaCPAN reads when generating page output
- Correctly handle major-only versions, like '2' (RT #68246).
- Updated FSF address and copyrights
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:07:02 UTC 2011 - coolo@suse.com Fri Nov 18 11:07:02 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-ExtUtils-PkgConfig # spec file for package perl-ExtUtils-PkgConfig
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,25 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-ExtUtils-PkgConfig Name: perl-ExtUtils-PkgConfig
Version: 1.14
Release: 0
%define cpan_name ExtUtils-PkgConfig %define cpan_name ExtUtils-PkgConfig
Summary: Simplistic interface to pkg-config Summary: simplistic interface to pkg-config
Version: 1.12 License: LGPL-2.1+
Release: 11
License: LGPLv2.1+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/ Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/
#Source: http://www.cpan.org/authors/id/T/TS/TSCH/ExtUtils-PkgConfig-1.12.tar.gz Source: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: pkgconfig
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: pkgconfig
#BuildRequires: perl(ExtUtils::PkgConfig)
%{perl_requires}
%description %description
The pkg-config program retrieves information about installed libraries, The pkg-config program retrieves information about installed libraries,
@ -44,10 +42,6 @@ intended for use in the Makefile.PL of perl extensions which bind libraries
that pkg-config knows. It is really just boilerplate code that you would've that pkg-config knows. It is really just boilerplate code that you would've
written yourself. written yourself.
Authors:
--------
muppet <scott at asofyet dot org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
@ -60,24 +54,11 @@ Authors:
%install %install
%perl_make_install %perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist %perl_process_packlist
%else
# do not perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
%endif
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc Changes README %doc Changes perl-ExtUtils-PkgConfig.doap README
%changelog %changelog