Hello community,
here is the log from the commit of package perl-ExtUtils-PkgConfig for
openSUSE:Factory checked in at 2013-06-06 15:05:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-PkgConfig (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-PkgConfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-PkgConfig"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-ExtUtils-PkgConfig/perl-ExtUtils-PkgConfig.changes
2011-11-18 16:39:51.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-ExtUtils-PkgConfig.new/perl-ExtUtils-PkgConfig.changes
2013-06-06 15:05:29.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Jun 4 08:50:16 UTC 2013 - [email protected]
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-PkgConfig-1.12.tar.gz
New:
----
ExtUtils-PkgConfig-1.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-PkgConfig.spec ++++++
--- /var/tmp/diff_new_pack.eFUwxx/_old 2013-06-06 15:05:29.000000000 +0200
+++ /var/tmp/diff_new_pack.eFUwxx/_new 2013-06-06 15:05:29.000000000 +0200
@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,25 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-ExtUtils-PkgConfig
+Version: 1.14
+Release: 0
%define cpan_name ExtUtils-PkgConfig
-Summary: Simplistic interface to pkg-config
-Version: 1.12
-Release: 11
+Summary: simplistic interface to pkg-config
License: LGPL-2.1+
Group: Development/Libraries/Perl
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: %{cpan_name}-%{version}.tar.gz
+Source:
http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires: pkgconfig
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: pkgconfig
+#BuildRequires: perl(ExtUtils::PkgConfig)
+%{perl_requires}
%description
The pkg-config program retrieves information about installed libraries,
@@ -44,10 +42,6 @@
that pkg-config knows. It is really just boilerplate code that you would've
written yourself.
-Authors:
---------
- muppet <scott at asofyet dot org>
-
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -60,24 +54,11 @@
%install
%perl_make_install
-### since 11.4 perl_process_packlist
-### removes .packlist, perllocal.pod files
-%if 0%{?suse_version} > 1130
%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
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
%files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes README
+%defattr(-,root,root,755)
+%doc Changes perl-ExtUtils-PkgConfig.doap README
%changelog
++++++ ExtUtils-PkgConfig-1.12.tar.gz -> ExtUtils-PkgConfig-1.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/Changes
new/ExtUtils-PkgConfig-1.14/Changes
--- old/ExtUtils-PkgConfig-1.12/Changes 2008-10-19 13:56:29.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/Changes 2013-02-04 04:02:16.000000000 +0100
@@ -1,5 +1,15 @@
Revision history for Perl extension ExtUtils::PkgConfig.
+1.14 Sun Feb 3 17:51:54 PDT 2013
+ - 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
+
+1.13 Fri Apr 27 20:27:30 PDT 2012
+ - Correctly handle major-only versions, like '2' (RT #68246).
+ - Updated FSF address and copyrights
+
1.12 Sun Oct 19 13:56:07 CEST 2008
- Try to fix a test failure.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/MANIFEST
new/ExtUtils-PkgConfig-1.14/MANIFEST
--- old/ExtUtils-PkgConfig-1.12/MANIFEST 2008-10-19 13:59:07.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.14/MANIFEST 2013-02-04 04:03:46.000000000
+0100
@@ -3,6 +3,7 @@
Makefile.PL
MANIFEST
MANIFEST.SKIP
+perl-ExtUtils-PkgConfig.doap
perl-ExtUtils-PkgConfig.spec.in
README
t/1.t
@@ -12,4 +13,6 @@
t/swallow_stderr.inc
t/test_glib-2.0.pc
t/test_non_numeric.pc
-META.yml Module meta-data (added by MakeMaker)
+t/test_short.pc
+META.yml Module YAML meta-data (added by
MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/MANIFEST.SKIP
new/ExtUtils-PkgConfig-1.14/MANIFEST.SKIP
--- old/ExtUtils-PkgConfig-1.12/MANIFEST.SKIP 2008-10-19 13:58:11.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.14/MANIFEST.SKIP 2012-04-23 00:22:40.000000000
+0200
@@ -1,6 +1,7 @@
~$
-.bak$
-.cvsignore
-CVS
+\.bak$
+\.gitignore$
+\.git
Makefile$
+MYMETA\.*
blib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/META.json
new/ExtUtils-PkgConfig-1.14/META.json
--- old/ExtUtils-PkgConfig-1.12/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/ExtUtils-PkgConfig-1.14/META.json 2013-02-04 04:03:46.000000000
+0100
@@ -0,0 +1,40 @@
+{
+ "abstract" : "unknown",
+ "author" : [
+ "gtk2-perl Team <gtk-perl-list at gnome dot org>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter
version 2.112621",
+ "license" : [
+ "lgpl_2_1"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "ExtUtils-PkgConfig",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "mailto" : "bug-ExtUtils-PkgConfig [at] rt.cpan.org",
+ "web" :
"http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-PkgConfig"
+ },
+ "homepage" : "http://gtk2-perl.sourceforge.net",
+ "license" : [
+ "http://www.gnu.org/licenses/lgpl-2.1.html"
+ ],
+ "repository" : {
+ "type" : "git",
+ "url" : "git://git.gnome.org/perl-ExtUtils-PkgConfig",
+ "web" : "http://git.gnome.org/browse/perl-ExtUtils-PkgConfig"
+ },
+ "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list"
+ },
+ "version" : "1.14"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/META.yml
new/ExtUtils-PkgConfig-1.14/META.yml
--- old/ExtUtils-PkgConfig-1.12/META.yml 2008-10-19 13:59:07.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.14/META.yml 2013-02-04 04:03:46.000000000
+0100
@@ -1,18 +1,23 @@
---- #YAML:1.0
-name: ExtUtils-PkgConfig
-version: 1.12
-abstract: ~
-author: []
-license: unknown
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
-requires: {}
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.46
+---
+abstract: unknown
+author:
+ - 'gtk2-perl Team <gtk-perl-list at gnome dot org>'
+build_requires: {}
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version
2.112621'
+license: lgpl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: ExtUtils-PkgConfig
+no_index:
+ directory:
+ - t
+ - inc
+resources:
+ bugtracker:
http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-PkgConfig
+ homepage: http://gtk2-perl.sourceforge.net
+ license: http://www.gnu.org/licenses/lgpl-2.1.html
+ repository: git://git.gnome.org/perl-ExtUtils-PkgConfig
+ x_MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
+version: 1.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/Makefile.PL
new/ExtUtils-PkgConfig-1.14/Makefile.PL
--- old/ExtUtils-PkgConfig-1.12/Makefile.PL 2008-10-05 14:14:43.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.14/Makefile.PL 2013-02-04 03:56:20.000000000
+0100
@@ -18,15 +18,44 @@
exit 0;
}
+my %meta_merge = (
+ q(meta-spec) => {
+ version => '2',
+ url => 'http://search.cpan.org/perldoc?CPAN::Meta::Spec',
+ },
+ author =>
+ ['gtk2-perl Team <gtk-perl-list at gnome dot org>'],
+ release_status => 'stable',
+ # valid values: https://metacpan.org/module/CPAN::Meta::Spec#license
+ license => 'lgpl_2_1',
+ resources => {
+ license => 'http://www.gnu.org/licenses/lgpl-2.1.html',
+ homepage => 'http://gtk2-perl.sourceforge.net',
+ x_MailingList =>
+ 'https://mail.gnome.org/mailman/listinfo/gtk-perl-list',
+ bugtracker => {
+ web =>
+
'http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-PkgConfig',
+ mailto => 'bug-ExtUtils-PkgConfig [at] rt.cpan.org',
+ },
+ repository => {
+ url => 'git://git.gnome.org/perl-ExtUtils-PkgConfig',
+ type => 'git',
+ web =>
'http://git.gnome.org/browse/perl-ExtUtils-PkgConfig',
+ },
+ },
+);
+
WriteMakefile(
+ 'NAME' => 'ExtUtils::PkgConfig',
+ 'VERSION_FROM' => 'lib/ExtUtils/PkgConfig.pm',
# FIXME this doesn't work very well with native win32 perl
'dist' => {
PREOP => 'pod2text lib/ExtUtils/PkgConfig.pm | tee README
>$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
COMPRESS => 'gzip -9v',
SUFFIX => '.gz',
},
- 'NAME' => 'ExtUtils::PkgConfig',
- 'VERSION_FROM' => 'lib/ExtUtils/PkgConfig.pm',
+ 'META_MERGE' => \%meta_merge,
);
use Cwd;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/README
new/ExtUtils-PkgConfig-1.14/README
--- old/ExtUtils-PkgConfig-1.12/README 2008-10-19 13:59:07.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/README 2013-02-04 04:03:46.000000000 +0100
@@ -104,7 +104,8 @@
muppet <scott at asofyet dot org>.
COPYRIGHT AND LICENSE
- Copyright 2003-2004 by muppet, Ross McFarland, and the gtk2-perl team
+ Copyright 2003-2004, 2012-2013 by muppet, Ross McFarland, and the
+ gtk2-perl team
This library is free software; you can redistribute it and/or modify it
under the terms of the Lesser General Public License (LGPL). For more
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/lib/ExtUtils/PkgConfig.pm
new/ExtUtils-PkgConfig-1.14/lib/ExtUtils/PkgConfig.pm
--- old/ExtUtils-PkgConfig-1.12/lib/ExtUtils/PkgConfig.pm 2008-10-19
13:55:49.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/lib/ExtUtils/PkgConfig.pm 2013-02-04
03:56:20.000000000 +0100
@@ -1,4 +1,5 @@
-# Copyright (c) 2003-2004 by the gtk2-perl team (see the file AUTHORS)
+# Copyright (c) 2003-2004, 2012-2013 by the gtk2-perl team (see the file
+# AUTHORS)
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -11,10 +12,9 @@
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
-# License along with this library; if not, write to the
-# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307 USA.
-
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
package ExtUtils::PkgConfig;
@@ -24,7 +24,7 @@
use vars qw/ $VERSION $AUTOLOAD/;
-$VERSION = '1.12';
+$VERSION = '1.14';
sub import {
my $class = shift;
@@ -33,7 +33,7 @@
if $VERSION < $_[0];
}
-sub AUTOLOAD
+sub AUTOLOAD
{
my $class = shift;
my $modulename = shift;
@@ -142,6 +142,7 @@
if( %data ) {
my @modversion = split /\./, $data{modversion};
+ $modversion[1] = 0 unless defined $modversion[1];
$modversion[2] = 0 unless defined $modversion[2];
# If a version part contains non-numeric characters,
@@ -304,7 +305,8 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2003-2004 by muppet, Ross McFarland, and the gtk2-perl team
+Copyright 2003-2004, 2012-2013 by muppet, Ross McFarland, and the gtk2-perl
+team
This library is free software; you can redistribute it and/or modify
it under the terms of the Lesser General Public License (LGPL). For
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/perl-ExtUtils-PkgConfig.doap
new/ExtUtils-PkgConfig-1.14/perl-ExtUtils-PkgConfig.doap
--- old/ExtUtils-PkgConfig-1.12/perl-ExtUtils-PkgConfig.doap 1970-01-01
01:00:00.000000000 +0100
+++ new/ExtUtils-PkgConfig-1.14/perl-ExtUtils-PkgConfig.doap 2011-11-24
08:27:48.000000000 +0100
@@ -0,0 +1,35 @@
+<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:gnome="http://api.gnome.org/doap-extensions#"
+ xmlns="http://usefulinc.com/ns/doap#">
+
+ <name xml:lang="en">ExtUtils::PkgConfig</name>
+ <shortdesc xml:lang="en">Simplistic interface to pkg-config</shortdesc>
+ <homepage rdf:resource="http://gtk2-perl.sourceforge.net/" />
+ <mailing-list
rdf:resource="http://mail.gnome.org/mailman/listinfo/gtk-perl-list" />
+
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>muppet</foaf:name>
+ <gnome:userid>sarringt</gnome:userid>
+ </foaf:Person>
+ </maintainer>
+
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Torsten Schönfeld</foaf:name>
+ <foaf:mbox rdf:resource="mailto:[email protected]" />
+ <gnome:userid>tsch</gnome:userid>
+ </foaf:Person>
+ </maintainer>
+
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Florian Ragwitz</foaf:name>
+ <foaf:mbox rdf:resource="mailto:[email protected]" />
+ <gnome:userid>rafl</gnome:userid>
+ </foaf:Person>
+ </maintainer>
+
+</Project>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/t/1.t
new/ExtUtils-PkgConfig-1.14/t/1.t
--- old/ExtUtils-PkgConfig-1.12/t/1.t 2008-10-05 14:49:32.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/t/1.t 2012-04-23 00:22:40.000000000 +0200
@@ -1,5 +1,5 @@
#
-# $Id: 1.t,v 1.4 2008/10/05 12:49:32 kaffeetisch Exp $
+# $Id$
#
use strict;
@@ -14,6 +14,9 @@
#########################
+my ($major, $minor) = split /\./, `pkg-config --version`;
+diag ("Testing against pkg-config $major.$minor");
+
$ENV{PKG_CONFIG_PATH} = './t/';
my %pkg;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/t/2.t
new/ExtUtils-PkgConfig-1.14/t/2.t
--- old/ExtUtils-PkgConfig-1.12/t/2.t 2008-10-05 14:49:32.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/t/2.t 2012-04-23 00:22:40.000000000 +0200
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $Id: 2.t,v 1.5 2008/10/05 12:49:32 kaffeetisch Exp $
+# $Id$
#
use strict;
@@ -12,7 +12,6 @@
$ENV{PKG_CONFIG_PATH} = './t/';
my ($major, $minor) = split /\./, `pkg-config --version`; # Ignore micro part
-diag ("Testing pkg-config $major.$minor");
cmd_ok ('modversion');
cmd_ok ('cflags');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/t/3.t
new/ExtUtils-PkgConfig-1.14/t/3.t
--- old/ExtUtils-PkgConfig-1.12/t/3.t 2008-10-19 13:54:45.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/t/3.t 2013-02-02 20:31:11.000000000 +0100
@@ -1,14 +1,16 @@
#
-# $Id: 3.t,v 1.3 2008/10/19 11:54:45 kaffeetisch Exp $
+# $Id$
#
use strict;
use warnings;
+use English; # uses $OSNAME below
use Test::More tests => 6;
use ExtUtils::PkgConfig;
$ENV{PKG_CONFIG_PATH} = './t/';
+my ($major, $minor) = split /\./, `pkg-config --version`;
ok( ExtUtils::PkgConfig->atleast_version(qw/test_glib-2.0/, '2.2.0') );
ok( not ExtUtils::PkgConfig->atleast_version(qw/test_glib-2.0/, '2.3.0') );
@@ -16,5 +18,9 @@
ok( ExtUtils::PkgConfig->exact_version(qw/test_glib-2.0/, '2.2.3') );
ok( not ExtUtils::PkgConfig->exact_version(qw/test_glib-2.0/, '2.3.0') );
-ok( ExtUtils::PkgConfig->max_version(qw/test_glib-2.0/, '2.3.0') );
-ok( not ExtUtils::PkgConfig->max_version(qw/test_glib-2.0/, '2.1.0') );
+SKIP: {
+ skip("OpenBSD bug in pkg-config clone", 2)
+ if($OSNAME eq "openbsd" && ($major == 0 && $minor <= 26));
+ ok( ExtUtils::PkgConfig->max_version(qw/test_glib-2.0/, '2.3.0') );
+ ok( not ExtUtils::PkgConfig->max_version(qw/test_glib-2.0/, '2.1.0') );
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/t/4.t
new/ExtUtils-PkgConfig-1.14/t/4.t
--- old/ExtUtils-PkgConfig-1.12/t/4.t 2008-10-05 14:49:32.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.14/t/4.t 2012-04-23 00:22:40.000000000 +0200
@@ -1,11 +1,11 @@
#
-# $Id: 4.t,v 1.5 2008/10/05 12:49:32 kaffeetisch Exp $
+# $Id$
#
use strict;
use warnings;
-use Test::More tests => 20;
+use Test::More tests => 24;
use ExtUtils::PkgConfig;
require 't/swallow_stderr.inc';
@@ -32,6 +32,13 @@
ok (contains ($macros, 'TEST_MICRO_VERSION (4)'));
ok (contains ($macros, 'TEST_CHECK_VERSION'));
+# Check that '2' is turned into 2.0.0
+$macros = ExtUtils::PkgConfig->create_version_macros (qw/test_short/, 'TEST');
+ok (contains ($macros, 'TEST_MAJOR_VERSION (2)'));
+ok (contains ($macros, 'TEST_MINOR_VERSION (0)'));
+ok (contains ($macros, 'TEST_MICRO_VERSION (0)'));
+ok (contains ($macros, 'TEST_CHECK_VERSION'));
+
swallow_stderr (sub {
eval {
ExtUtils::PkgConfig->create_version_macros (qw/__bad__/, 'BAD');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.12/t/test_short.pc
new/ExtUtils-PkgConfig-1.14/t/test_short.pc
--- old/ExtUtils-PkgConfig-1.12/t/test_short.pc 1970-01-01 01:00:00.000000000
+0100
+++ new/ExtUtils-PkgConfig-1.14/t/test_short.pc 2012-04-23 00:22:40.000000000
+0200
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include
+
+Name: TestShort
+Description: Bla blub
+Version: 2
+Libs: -L${libdir} -ltest-short
+Cflags: -I${includedir}/test-short
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]