Hello community,
here is the log from the commit of package perl-XML-SemanticDiff for
openSUSE:Factory checked in at 2013-10-06 14:56:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-SemanticDiff (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-SemanticDiff.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-SemanticDiff"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-XML-SemanticDiff/perl-XML-SemanticDiff.changes
2011-12-25 17:39:57.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-XML-SemanticDiff.new/perl-XML-SemanticDiff.changes
2013-10-06 14:56:29.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Oct 4 09:14:21 UTC 2013 - [email protected]
+
+- updated to 1.0002
+ - Convert "Changes" (this file) to CPAN::Changes.
+ - Fix https://rt.cpan.org/Ticket/Display.html?id=87903
+ - Case problem with "repository" in "Build.PL".
+ - Remove trailing space.
+
+-------------------------------------------------------------------
Old:
----
XML-SemanticDiff-1.0000.tar.gz
New:
----
XML-SemanticDiff-1.0002.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-SemanticDiff.spec ++++++
--- /var/tmp/diff_new_pack.sechUO/_old 2013-10-06 14:56:29.000000000 +0200
+++ /var/tmp/diff_new_pack.sechUO/_new 2013-10-06 14:56:29.000000000 +0200
@@ -1,8 +1,7 @@
-# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-XML-SemanticDiff
#
-# 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,58 +14,49 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
+
Name: perl-XML-SemanticDiff
-Version: 1.0000
+Version: 1.0002
Release: 0
-Summary: Perl extension for comparing XML documents
+%define cpan_name XML-SemanticDiff
+Summary: Perl extension for comparing XML documents.
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Source:
http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-SemanticDiff-%{version}.tar.gz
Url: http://search.cpan.org/dist/XML-SemanticDiff/
+Source:
http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Digest::MD5)
-BuildRequires: perl(Encode)
-BuildRequires: perl(Module::Build) >= 0.34
+BuildRequires: perl(Module::Build) >= 0.39
BuildRequires: perl(XML::Parser)
-Requires: perl(Digest::MD5)
+#BuildRequires: perl(XML::SemanticDiff)
+#BuildRequires: perl(XML::SemanticDiff::BasicHandler)
Requires: perl(XML::Parser)
-Requires: perl(Encode)
+%{perl_requires}
%description
-XML::SematicDiff provides a way to compare the contents and structure of two
-XML documents. By default, it returns a list of hashrefs where each hashref
-describes a single difference between the two docs.
+XML::SematicDiff provides a way to compare the contents and structure of
+two XML documents. By default, it returns a list of hashrefs where each
+hashref describes a single difference between the two docs.
%prep
-%setup -q -n "XML-SemanticDiff-%{version}"
+%setup -q -n %{cpan_name}-%{version}
%build
-%__perl ./Build.PL
-./Build
-
-%install
-./Build pure_install --destdir "%{buildroot}" --installdirs vendor
-%perl_process_packlist
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
%check
./Build test
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
-%files
-%defattr(-,root,root)
-%doc Changes README
-%dir %{perl_vendorlib}/XML
-%{perl_vendorlib}/XML/SemanticDiff.pm
-%{perl_vendorlib}/XML/SemanticDiff
-%dir %{perl_vendorarch}/auto/XML
-%{perl_vendorarch}/auto/XML/SemanticDiff
-%doc %{perl_man3dir}/XML::SemanticDiff.%{perl_man3ext}%{ext_man}
-%doc %{perl_man3dir}/XML::SemanticDiff::*.%{perl_man3ext}%{ext_man}
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes eg README
%changelog
++++++ XML-SemanticDiff-1.0000.tar.gz -> XML-SemanticDiff-1.0002.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/Build.PL
new/XML-SemanticDiff-1.0002/Build.PL
--- old/XML-SemanticDiff-1.0000/Build.PL 2009-07-28 10:04:29.000000000
+0200
+++ new/XML-SemanticDiff-1.0002/Build.PL 2013-08-17 16:03:26.000000000
+0200
@@ -8,7 +8,11 @@
license => 'perl',
dist_author => 'Kip Hampton <[email protected]>',
dist_version_from => 'lib/XML/SemanticDiff.pm',
- requires =>
+ configure_requires =>
+ {
+ 'Module::Build' => '0.39',
+ },
+ requires =>
{
'Encode' => '0',
'Digest::MD5' => '0',
@@ -16,10 +20,9 @@
'XML::Parser' => '0',
},
add_to_cleanup => [ 'XML-SemanticDiff-*' ],
- create_makefile_pl => 'traditional',
meta_add => {
resources => {
- Repository =>
"http://svn.berlios.de/svnroot/repos/web-cpan/XML-SemanticDiff/",
+ repository =>
"https://bitbucket.org/shlomif/perl-xml-semanticdiff",
},
},
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/Changes
new/XML-SemanticDiff-1.0002/Changes
--- old/XML-SemanticDiff-1.0000/Changes 2009-07-28 10:04:29.000000000 +0200
+++ new/XML-SemanticDiff-1.0002/Changes 2013-08-17 16:03:26.000000000 +0200
@@ -1,21 +1,30 @@
-Revision history for Perl extension XML::SemanticDiff.
+Revision history for Perl module XML::SemanticDiff
-1.0000 July 28 2009
+1.0002 2013-08-17
+ - Convert "Changes" (this file) to CPAN::Changes.
+ - Thanks to https://bitbucket.org/sromanov .
+
+1.0001 2013-08-17
+ - Fix https://rt.cpan.org/Ticket/Display.html?id=87903
+ - Case problem with "repository" in "Build.PL".
+ - Remove trailing space.
+
+1.0000 2009-07-28
- Fixed the POD displaying:
- https://rt.cpan.org/Ticket/Display.html?id=48259
-0.99 October 03 2008
+0.99 2008-10-03
- Now can exclude some paths from the comparison:
- http://rt.cpan.org/Ticket/Display.html?id=39705
-0.98 September 13 2008
+0.98 2008-09-13
- Added the LICENSE section to the POD (Kwalitee).
- Added the "use warnings" (Kwalitee).
- Added the "Repository URL" on the resources page.
-0.97 August 08 2007
+0.97 2007-08-08
- Added the README (Kwalitee)
- - Specified the LICENSE (as "perl") explicitly in the Makefile.PL.
+ - Specified the LICENSE (as "perl") explicitly in the Makefile.PL.
(Kwalitee)
- Added t/pod.t. (Kwalitee).
- fixed the POD in the process.
@@ -29,10 +38,10 @@
- Converted the "PathFinder" package in lib/XML/SemanticDiff.pm
to "XML::SemanticDiff::PathFinder" to maintain namespace
purity.
- - Converted the Pkg to use an object using Non-Expat-Options. Made the
+ - Converted the Pkg to use an object using Non-Expat-Options. Made the
global variables as class members using accessors.
-0.96 July 03 2007
+0.96 2007-07-03
- Fixed the warning emitted with the namespaces being undefined.
(t/8nonexist_ns.t)
- fixes http://rt.cpan.org/Public/Bug/Display.html?id=1379
@@ -40,7 +49,7 @@
XML tags properly. (t/09two-tags.t)
- Applied a modified version of:
http://rt.cpan.org/Ticket/Display.html?id=24715
- - Fixes an exception when comparing XML with multi-byte
+ - Fixes an exception when comparing XML with multi-byte
characters.
- Thanks to RMBARKER
- t/10wide-chars.t
@@ -56,21 +65,20 @@
- Seems to already have been fixed.
- t/12missing-element-has-o-as-cdata.t
-0.95 April 09 2002
+0.95 2002-04-09
[ Undocumented changelog. ]
-0.93 June 14 2001
- - third (hopefully final) BETA
- - more doc fixes.
-
-0.91 June 12 2001
- - second BETA release.
- - code cleanup.
- - major doc fixes.
-
-0.50 May 25 2001
- - initial public BETA release.
+0.93 2001-06-14
+ - third (hopefully final) BETA
+ - more doc fixes.
+
+0.91 2001-06-12
+ - second BETA release.
+ - code cleanup.
+ - major doc fixes.
-0.01 Thu May 24 10:09:38 2001
- - original version; created by h2xs 1.19
+0.50 2001-05-25
+ - initial public BETA release.
+0.01 2001-05-24
+ - original version; created by h2xs 1.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/MANIFEST
new/XML-SemanticDiff-1.0002/MANIFEST
--- old/XML-SemanticDiff-1.0000/MANIFEST 2009-07-28 10:04:29.000000000
+0200
+++ new/XML-SemanticDiff-1.0002/MANIFEST 2013-08-17 16:03:26.000000000
+0200
@@ -5,7 +5,6 @@
eg/xmlsemdiff
lib/XML/SemanticDiff/BasicHandler.pm
lib/XML/SemanticDiff.pm
-Makefile.PL
MANIFEST
META.yml Module meta-data (added by MakeMaker)
README
@@ -24,5 +23,7 @@
t/13to-doc-read.t
t/14ignore_xpath.t
t/15ignore_multi.t
+t/cpan-changes.t
t/pod-coverage.t
t/pod.t
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/META.json
new/XML-SemanticDiff-1.0002/META.json
--- old/XML-SemanticDiff-1.0000/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/XML-SemanticDiff-1.0002/META.json 2013-08-17 16:03:26.000000000
+0200
@@ -0,0 +1,54 @@
+{
+ "abstract" : "Perl extension for comparing XML documents.",
+ "author" : [
+ "Kip Hampton <[email protected]>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter
version 2.132140",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "XML-SemanticDiff",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.39"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Digest::MD5" : "0",
+ "Encode" : "0",
+ "XML::Parser" : "0",
+ "perl" : "5.006"
+ }
+ }
+ },
+ "provides" : {
+ "XML::SemanticDiff" : {
+ "file" : "lib/XML/SemanticDiff.pm",
+ "version" : "1.0002"
+ },
+ "XML::SemanticDiff::BasicHandler" : {
+ "file" : "lib/XML/SemanticDiff/BasicHandler.pm",
+ "version" : "0.94"
+ },
+ "XML::SemanticDiff::PathFinder" : {
+ "file" : "lib/XML/SemanticDiff.pm"
+ },
+ "XML::SemanticDiff::PathFinder::Obj" : {
+ "file" : "lib/XML/SemanticDiff.pm"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "repository" : {
+ "url" : "https://bitbucket.org/shlomif/perl-xml-semanticdiff"
+ }
+ },
+ "version" : "1.0002"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/META.yml
new/XML-SemanticDiff-1.0002/META.yml
--- old/XML-SemanticDiff-1.0000/META.yml 2009-07-28 10:04:29.000000000
+0200
+++ new/XML-SemanticDiff-1.0002/META.yml 2013-08-17 16:03:26.000000000
+0200
@@ -1,23 +1,21 @@
---
-name: XML-SemanticDiff
-version: 1.0000
+abstract: 'Perl extension for comparing XML documents.'
author:
- 'Kip Hampton <[email protected]>'
-abstract: Perl extension for comparing XML documents.
-license: perl
-resources:
- Repository: http://svn.berlios.de/svnroot/repos/web-cpan/XML-SemanticDiff/
-requires:
- Digest::MD5: 0
- Encode: 0
- XML::Parser: 0
- perl: 5.006
+build_requires: {}
configure_requires:
- Module::Build: 0.34
+ Module::Build: 0.39
+dynamic_config: 1
+generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version
2.132140'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: XML-SemanticDiff
provides:
XML::SemanticDiff:
file: lib/XML/SemanticDiff.pm
- version: 1.0000
+ version: 1.0002
XML::SemanticDiff::BasicHandler:
file: lib/XML/SemanticDiff/BasicHandler.pm
version: 0.94
@@ -25,7 +23,11 @@
file: lib/XML/SemanticDiff.pm
XML::SemanticDiff::PathFinder::Obj:
file: lib/XML/SemanticDiff.pm
-generated_by: Module::Build version 0.34
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+requires:
+ Digest::MD5: 0
+ Encode: 0
+ XML::Parser: 0
+ perl: 5.006
+resources:
+ repository: https://bitbucket.org/shlomif/perl-xml-semanticdiff
+version: 1.0002
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/Makefile.PL
new/XML-SemanticDiff-1.0002/Makefile.PL
--- old/XML-SemanticDiff-1.0000/Makefile.PL 2009-07-28 10:04:29.000000000
+0200
+++ new/XML-SemanticDiff-1.0002/Makefile.PL 1970-01-01 01:00:00.000000000
+0100
@@ -1,17 +0,0 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.34
-require 5.006;
-use ExtUtils::MakeMaker;
-WriteMakefile
-(
- 'NAME' => 'XML::SemanticDiff',
- 'VERSION_FROM' => 'lib/XML/SemanticDiff.pm',
- 'PREREQ_PM' => {
- 'Digest::MD5' => '0',
- 'Encode' => '0',
- 'XML::Parser' => '0'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => [],
- 'PL_FILES' => {}
- )
-;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/XML-SemanticDiff-1.0000/lib/XML/SemanticDiff/BasicHandler.pm
new/XML-SemanticDiff-1.0002/lib/XML/SemanticDiff/BasicHandler.pm
--- old/XML-SemanticDiff-1.0000/lib/XML/SemanticDiff/BasicHandler.pm
2009-07-28 10:04:29.000000000 +0200
+++ new/XML-SemanticDiff-1.0002/lib/XML/SemanticDiff/BasicHandler.pm
2013-08-17 16:03:26.000000000 +0200
@@ -7,7 +7,7 @@
$VERSION = '0.94';
-sub new {
+sub new {
my ($proto, %args) = @_;
my $class = ref($proto) || $proto;
my $self = \%args;
@@ -21,15 +21,15 @@
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $parent,
message => "Rogue element '$element_name' in element
'$parent'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $properties->{TagStart};
$info->{endline} = $properties->{TagEnd};
}
-
+
if ($self->{keepdata}) {
$info->{new_value} = $properties->{CData};
- }
+ }
return $info;
}
@@ -39,7 +39,7 @@
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $parent,
message => "Child element '$element_name' missing from element
'$parent'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $properties->{TagStart};
$info->{endline} = $properties->{TagEnd};
@@ -57,12 +57,12 @@
my $info = {context => $element,
message => "Character differences in element
'$element_name'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $new_properties->{TagStart};
$info->{endline} = $new_properties->{TagEnd};
}
-
+
if ($self->{keepdata}) {
$info->{old_value} = $old_properties->{CData};
$info->{new_value} = $new_properties->{CData};
@@ -72,12 +72,12 @@
}
sub rogue_attribute {
- my $self = shift;
+ my $self = shift;
my ($attr, $element, $properties) = @_;
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $element,
message => "Rogue attribute '$attr' in element
'$element_name'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $properties->{TagStart};
$info->{endline} = $properties->{TagEnd};
@@ -95,7 +95,7 @@
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $element,
message => "Attribute '$attr' missing from element
'$element_name'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $new_properties->{TagStart};
$info->{endline} = $new_properties->{TagEnd};
@@ -113,12 +113,12 @@
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $element,
message => "Attribute '$attr' has different value in element
'$element_name'."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $new_properties->{TagStart};
$info->{endline} = $new_properties->{TagEnd};
}
-
+
if ($self->{keepdata}) {
$info->{old_value} = $old_properties->{Attributes}->{$attr};
$info->{new_value} = $new_properties->{Attributes}->{$attr};
@@ -132,12 +132,12 @@
my ($element_name, $parent) = parent_and_name($element);
my $info = {context => $element,
message => "Element '$element_name' within different
namespace."};
-
+
if ($self->{keeplinenums}) {
$info->{startline} = $new_properties->{TagStart};
$info->{endline} = $new_properties->{TagEnd};
}
-
+
if ($self->{keepdata}) {
$info->{old_value} = $old_properties->{NamspaceURI};
$info->{new_value} = $new_properties->{NamspaceURI};
@@ -147,7 +147,7 @@
sub parent_and_name {
my $element = shift;
- my @steps = split('/', $element);
+ my @steps = split('/', $element);
my $element_name = pop (@steps);
my $parent = join '/', @steps;
$element_name =~ s/\[\d+\]$//;
@@ -166,7 +166,7 @@
use XML::SemanticDiff;
my $diff = XML::SemanticDiff->new();
-
+
foreach my $change ($diff->compare($file, $file2)) {
print "$change->{message} in context $change->{context}\n";
}
@@ -195,7 +195,7 @@
Kip Hampton [email protected]
=head1 COPYRIGHT
-
+
Copyright (c) 2000 Kip Hampton. All rights reserved. This program is free
software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/lib/XML/SemanticDiff.pm
new/XML-SemanticDiff-1.0002/lib/XML/SemanticDiff.pm
--- old/XML-SemanticDiff-1.0000/lib/XML/SemanticDiff.pm 2009-07-28
10:04:29.000000000 +0200
+++ new/XML-SemanticDiff-1.0002/lib/XML/SemanticDiff.pm 2013-08-17
16:03:26.000000000 +0200
@@ -5,7 +5,7 @@
use vars qw/$VERSION/;
-$VERSION = '1.0000';
+$VERSION = '1.0002';
use XML::Parser;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-SemanticDiff-1.0000/t/cpan-changes.t
new/XML-SemanticDiff-1.0002/t/cpan-changes.t
--- old/XML-SemanticDiff-1.0000/t/cpan-changes.t 1970-01-01
01:00:00.000000000 +0100
+++ new/XML-SemanticDiff-1.0002/t/cpan-changes.t 2013-08-17
16:03:26.000000000 +0200
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval 'use Test::CPAN::Changes';
+plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
+
+changes_ok();
+
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]