Hello community,
here is the log from the commit of package perl-ExtUtils-CChecker for
openSUSE:Factory checked in at 2013-06-06 15:02:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CChecker (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-CChecker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-CChecker"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.changes
2011-12-21 17:00:36.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-ExtUtils-CChecker.new/perl-ExtUtils-CChecker.changes
2013-06-06 15:02:20.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jun 4 08:49:31 UTC 2013 - [email protected]
+
+- updated to 0.08
+ * Include PID in test file names to guard against collisions when
+ building concurrently (RT76013)
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-CChecker-0.07.tar.gz
New:
----
ExtUtils-CChecker-0.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-CChecker.spec ++++++
--- /var/tmp/diff_new_pack.pt7tdD/_old 2013-06-06 15:02:21.000000000 +0200
+++ /var/tmp/diff_new_pack.pt7tdD/_new 2013-06-06 15:02:21.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-ExtUtils-CChecker
#
-# 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
@@ -17,10 +17,10 @@
Name: perl-ExtUtils-CChecker
-Version: 0.07
+Version: 0.08
Release: 0
%define cpan_name ExtUtils-CChecker
-Summary: Configure-time utilities for using C headers
+Summary: Configure-time utilities for using C headers,
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/ExtUtils-CChecker/
@@ -33,7 +33,6 @@
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Fatal)
#BuildRequires: perl(ExtUtils::CChecker)
-#BuildRequires: perl(Module::Build::Compat) >= 0.02
Requires: perl(ExtUtils::CBuilder)
%{perl_requires}
++++++ ExtUtils-CChecker-0.07.tar.gz -> ExtUtils-CChecker-0.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/Build.PL
new/ExtUtils-CChecker-0.08/Build.PL
--- old/ExtUtils-CChecker-0.07/Build.PL 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/Build.PL 2012-03-25 18:51:07.000000000 +0200
@@ -13,8 +13,9 @@
'Test::Fatal' => 0,
'Test::More' => 0,
},
+ auto_configure_requires => 0, # Don't add M::B to configure_requires
license => 'perl',
- create_makefile_pl => 'small',
+ create_makefile_pl => 'traditional',
create_license => 1,
create_readme => 1,
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/Changes
new/ExtUtils-CChecker-0.08/Changes
--- old/ExtUtils-CChecker-0.07/Changes 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/Changes 2012-03-25 18:51:07.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for ExtUtils-CChecker
+0.08 CHANGES:
+ * Include PID in test file names to guard against collisions when
+ building concurrently (RT76013)
+
0.07 CHANGES:
* Use Test::Fatal instead of Test::Exception
* Advise against calling it "config.h" as that gets confused with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/LICENSE
new/ExtUtils-CChecker-0.08/LICENSE
--- old/ExtUtils-CChecker-0.07/LICENSE 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/LICENSE 2012-03-25 18:51:07.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by Paul Evans <[email protected]>.
+This software is copyright (c) 2012 by Paul Evans <[email protected]>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,21 +12,22 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by Paul Evans <[email protected]>.
+This software is Copyright (c) 2012 by Paul Evans <[email protected]>.
This is free software, licensed under:
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301
USA
+
Also add information on how to contact you by electronic and paper mail.
@@ -270,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by Paul Evans <[email protected]>.
+This software is Copyright (c) 2012 by Paul Evans <[email protected]>.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/MANIFEST
new/ExtUtils-CChecker-0.08/MANIFEST
--- old/ExtUtils-CChecker-0.07/MANIFEST 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/MANIFEST 2012-03-25 18:51:07.000000000 +0200
@@ -13,3 +13,4 @@
t/04module_build.t
t/05defines_to.t
t/99pod.t
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/META.json
new/ExtUtils-CChecker-0.08/META.json
--- old/ExtUtils-CChecker-0.07/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/ExtUtils-CChecker-0.08/META.json 2012-03-25 18:51:07.000000000
+0200
@@ -0,0 +1,43 @@
+{
+ "abstract" : "configure-time utilities for using C headers,\nlibraries, or
OS features",
+ "author" : [
+ "Paul Evans <[email protected]>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version
2.120630",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "ExtUtils-CChecker",
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Module::Build" : "0",
+ "Test::Fatal" : "0",
+ "Test::More" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "ExtUtils::CBuilder" : "0"
+ }
+ }
+ },
+ "provides" : {
+ "ExtUtils::CChecker" : {
+ "file" : "lib/ExtUtils/CChecker.pm",
+ "version" : "0.08"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ]
+ },
+ "version" : "0.08"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/META.yml
new/ExtUtils-CChecker-0.08/META.yml
--- old/ExtUtils-CChecker-0.07/META.yml 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/META.yml 2012-03-25 18:51:07.000000000 +0200
@@ -6,9 +6,8 @@
Module::Build: 0
Test::Fatal: 0
Test::More: 0
-configure_requires:
- Module::Build: 0.36
-generated_by: 'Module::Build version 0.3607'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version
2.120630'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,9 +16,9 @@
provides:
ExtUtils::CChecker:
file: lib/ExtUtils/CChecker.pm
- version: 0.07
+ version: 0.08
requires:
ExtUtils::CBuilder: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.07
+version: 0.08
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/Makefile.PL
new/ExtUtils-CChecker-0.08/Makefile.PL
--- old/ExtUtils-CChecker-0.07/Makefile.PL 2011-04-16 00:56:29.000000000
+0200
+++ new/ExtUtils-CChecker-0.08/Makefile.PL 2012-03-25 18:51:07.000000000
+0200
@@ -1,6 +1,17 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3607
- use Module::Build::Compat 0.02;
-
- Module::Build::Compat->run_build_pl(args => \@ARGV);
- require Module::Build;
- Module::Build::Compat->write_makefile(build_class => 'Module::Build');
+# Note: this file was auto-generated by Module::Build::Compat version 0.3800
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+ 'NAME' => 'ExtUtils::CChecker',
+ 'VERSION_FROM' => 'lib/ExtUtils/CChecker.pm',
+ 'PREREQ_PM' => {
+ 'ExtUtils::CBuilder' => 0,
+ 'Module::Build' => 0,
+ 'Test::Fatal' => 0,
+ 'Test::More' => 0
+ },
+ 'INSTALLDIRS' => 'site',
+ 'EXE_FILES' => [],
+ 'PL_FILES' => {}
+)
+;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/README
new/ExtUtils-CChecker-0.08/README
--- old/ExtUtils-CChecker-0.07/README 2011-04-16 00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/README 2012-03-25 18:51:07.000000000 +0200
@@ -1,5 +1,5 @@
NAME
- "ExtUtils::CChecker" - configure-time utilities for using C headers,
+ `ExtUtils::CChecker' - configure-time utilities for using C headers,
libraries, or OS features
SYNOPSIS
@@ -39,12 +39,12 @@
CONSTRUCTOR
$cc = ExtUtils::CChecker->new( %args )
- Returns a new instance of a "ExtUtils::CChecker" object. Takes teh
+ Returns a new instance of a `ExtUtils::CChecker' object. Takes teh
following named parameters:
defines_to => PATH
If given, defined symbols will be written to a C preprocessor .h
- file of the given name, instead of by adding extra "-D*SYMBOL*"
+ file of the given name, instead of by adding extra `-D*SYMBOL*'
arguments to the compiler flags.
METHODS
@@ -66,7 +66,7 @@
$cc->push_extra_compiler_flags( @flags )
Adds more compiler flags
- $cc->push_extra_linker_flags
+ $cc->push_extra_linker_flags( @flags )
Adds more linker flags
$success = $cc->try_compile_run( %args )
@@ -78,34 +78,29 @@
Takes the following named arguments. If a single argument is given, that
is taken as the source string.
- * source => STRING
-
+ * source => STRING
The source code of the C program to try compiling, building, and
running.
- * extra_compiler_flags => ARRAY
-
+ * extra_compiler_flags => ARRAY
Optional. If specified, pass extra flags to the compiler.
- * extra_linker_flags => ARRAY
-
+ * extra_linker_flags => ARRAY
Optional. If specified, pass extra flags to the linker.
- * define => STRING
-
+ * define => STRING
Optional. If specified, then the named symbol will be defined if
the program ran successfully. This will either on the C compiler
- commandline (by passing an option "-D*SYMBOL*"), or in the
- "defines_to" file.
+ commandline (by passing an option `-D*SYMBOL*'), or in the
+ `defines_to' file.
$cc->assert_compile_run( %args )
- Calls "try_compile_run". If it fails, die with an "OS unsupported"
+ Calls `try_compile_run'. If it fails, die with an `OS unsupported'
message. Useful to call from Build.PL or Makefile.PL.
Takes one extra optional argument:
- * diag => STRING
-
+ * diag => STRING
If present, this string will be appended to the failure message
if one is generated. It may provide more useful information to
the user on why the OS is unsupported.
@@ -116,27 +111,24 @@
When a usable combination is found, the directories required are stored
in the object for use in further compile operations, or returned by
- "include_dirs". The method then returns true.
+ `include_dirs'. The method then returns true.
If no a usable combination is found, it returns false.
Takes the following arguments:
- * source => STRING
-
+ * source => STRING
Source code to compile
- * dirs => ARRAY of ARRAYs
-
+ * dirs => ARRAY of ARRAYs
Gives a list of sets of dirs. Each set of dirs should be strings
in its own array reference.
- * define => STRING
-
+ * define => STRING
Optional. If specified, then the named symbol will be defined if
the program ran successfully. This will either on the C compiler
- commandline (by passing an option "-D*SYMBOL*"), or in the
- "defines_to" file.
+ commandline (by passing an option `-D*SYMBOL*'), or in the
+ `defines_to' file.
$success = $cc->try_find_libs_for( %args )
Try to compile, link and execute the given source, when linked against a
@@ -144,48 +136,44 @@
When a usable combination is found, the libraries required are stored in
the object for use in further link operations, or returned by
- "extra_linker_flags". The method then returns true.
+ `extra_linker_flags'. The method then returns true.
If no usable combination is found, it returns false.
Takes the following arguments:
- * source => STRING
-
+ * source => STRING
Source code to compile
- * libs => ARRAY of STRINGs
-
+ * libs => ARRAY of STRINGs
Gives a list of sets of libraries. Each set of libraries should
be space-separated.
- * define => STRING
-
+ * define => STRING
Optional. If specified, then the named symbol will be defined if
the program ran successfully. This will either on the C compiler
- commandline (by passing an option "-D*SYMBOL*"), or in the
- "defines_to" file.
+ commandline (by passing an option `-D*SYMBOL*'), or in the
+ `defines_to' file.
$cc->find_include_dirs_for( %args )
$cc->find_libs_for( %args )
- Calls "try_find_include_dirs_for" or "try_find_libs_for" respectively.
- If it fails, die with an "OS unsupported" message.
+ Calls `try_find_include_dirs_for' or `try_find_libs_for' respectively.
+ If it fails, die with an `OS unsupported' message.
Each method takes one extra optional argument:
- * diag => STRING
-
+ * diag => STRING
If present, this string will be appended to the failure message
if one is generated. It may provide more useful information to
the user on why the OS is unsupported.
$mb = $cc->new_module_build( %args )
Construct and return a new Module::Build object, preconfigured with the
- "include_dirs", "extra_compiler_flags" and "extra_linker_flags" options
+ `include_dirs', `extra_compiler_flags' and `extra_linker_flags' options
that have been configured on this object, by the above methods.
This is provided as a simple shortcut for the common use case, that a
- Build.PL file is using the "ExtUtils::CChecker" object to detect the
+ Build.PL file is using the `ExtUtils::CChecker' object to detect the
required arguments to pass.
EXAMPLES
@@ -219,9 +207,9 @@
...
)->create_build_script;
- By using the "new_module_build" method, the detected
- "extra_linker_flags" value has been automatically passed into the new
- "Module::Build" object.
+ By using the `new_module_build' method, the detected
+ `extra_linker_flags' value has been automatically passed into the new
+ `Module::Build' object.
Testing For Optional Features
Sometimes a function or ability may be optionally provided by the OS, or
@@ -253,7 +241,7 @@
)->create_build_script;
If the C code compiles and runs successfully, and exits with a true
- status, the symbol "HAVE_MANGO" will be defined on the compiler
+ status, the symbol `HAVE_MANGO' will be defined on the compiler
commandline. This allows the XS code to detect it, for example
int
@@ -277,7 +265,7 @@
It may be the case that the running kernel is newer, containing more
features, than the distribution's libc headers would believe. In such
circumstances it can be difficult to make use of new socket options,
- "ioctl()"s, etc.. without having the constants that define them and
+ `ioctl()'s, etc.. without having the constants that define them and
their parameter structures, because the relevant header files are not
visible to the compiler. In this case, there may be little choice but to
pull in some of the kernel header files, which will provide the required
@@ -311,11 +299,11 @@
including the kernel headers, which should make the constant and
structure visible, allowing the program to compile.
- Creating an "#include" file
+ Creating an `#include' file
Sometimes, rather than setting defined symbols on the compiler
commandline, it is preferrable to have them written to a C preprocessor
include (.h) file. This may be beneficial for cross-platform portability
- concerns, as not all C compilers may take extra "-D" arguments on the
+ concerns, as not all C compilers may take extra `-D' arguments on the
command line, or platforms may have small length restrictions on the
length of a command line.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CChecker-0.07/lib/ExtUtils/CChecker.pm
new/ExtUtils-CChecker-0.08/lib/ExtUtils/CChecker.pm
--- old/ExtUtils-CChecker-0.07/lib/ExtUtils/CChecker.pm 2011-04-16
00:56:29.000000000 +0200
+++ new/ExtUtils-CChecker-0.08/lib/ExtUtils/CChecker.pm 2012-03-25
18:51:07.000000000 +0200
@@ -8,7 +8,7 @@
use strict;
use warnings;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use Carp;
@@ -165,7 +165,7 @@
push @{ $self->{extra_compiler_flags} }, @_;
}
-=head2 $cc->push_extra_linker_flags
+=head2 $cc->push_extra_linker_flags( @flags )
Adds more linker flags
@@ -275,7 +275,7 @@
my $seq = $self->{seq}++;
- my $test_source = "test-$seq.c";
+ my $test_source = "test-$$-$seq.c";
open( my $test_source_fh, "> $test_source" ) or die "Cannot write
$test_source - $!";
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]