Hello community,
here is the log from the commit of package perl-MusicBrainz-DiscID for
openSUSE:Factory checked in at 2019-10-14 12:40:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MusicBrainz-DiscID (Old)
and /work/SRC/openSUSE:Factory/.perl-MusicBrainz-DiscID.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MusicBrainz-DiscID"
Mon Oct 14 12:40:31 2019 rev:2 rq:737238 version:0.06
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.changes
2019-04-01 12:38:38.937922905 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MusicBrainz-DiscID.new.2352/perl-MusicBrainz-DiscID.changes
2019-10-14 12:40:35.258843729 +0200
@@ -1,0 +2,15 @@
+Thu Oct 10 12:48:57 UTC 2019 - Tina Mueller <[email protected]>
+
+- Remove manual license from cpanspec.yml, as the new MIT license is
+ correctly detected by cpanspec
+
+-------------------------------------------------------------------
+Wed Oct 9 08:30:54 UTC 2019 - <[email protected]>
+
+- updated to 0.06
+ see /usr/share/doc/packages/perl-MusicBrainz-DiscID/Changes
+
+ 0.06 Mon 7 Oct 2019 23:32:36 BST
+ - Changed license to MIT
+
+-------------------------------------------------------------------
Old:
----
MusicBrainz-DiscID-0.04.tar.gz
New:
----
MusicBrainz-DiscID-0.06.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MusicBrainz-DiscID.spec ++++++
--- /var/tmp/diff_new_pack.cs1Meq/_old 2019-10-14 12:40:36.938839336 +0200
+++ /var/tmp/diff_new_pack.cs1Meq/_new 2019-10-14 12:40:36.942839325 +0200
@@ -17,12 +17,11 @@
Name: perl-MusicBrainz-DiscID
-Version: 0.04
+Version: 0.06
Release: 0
-#Upstream: GPL-1.0-or-later
%define cpan_name MusicBrainz-DiscID
Summary: Perl interface for the MusicBrainz libdiscid library
-License: GPL-2.0-or-later
+License: MIT
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/N/NJ/NJH/%{cpan_name}-%{version}.tar.gz
@@ -30,6 +29,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(Test::Pod) >= 1.00
%{perl_requires}
# MANUAL BEGIN
BuildRequires: pkg-config
@@ -60,5 +60,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples README.md
+%license LICENSE.md
%changelog
++++++ MusicBrainz-DiscID-0.04.tar.gz -> MusicBrainz-DiscID-0.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/Changes
new/MusicBrainz-DiscID-0.06/Changes
--- old/MusicBrainz-DiscID-0.04/Changes 2017-06-13 23:30:59.000000000 +0200
+++ new/MusicBrainz-DiscID-0.06/Changes 2019-10-08 09:55:40.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for libdiscid perl bindings
+0.06 Mon 7 Oct 2019 23:32:36 BST
+ - Changed license to MIT
+
0.04 Tue 13 Jun 2017 22:27:29 BST
- Use ExtUtils::MakeMaker instead of Module::Build
- Fixed encoding in POD (RT#85212)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/DiscID.xs
new/MusicBrainz-DiscID-0.06/DiscID.xs
--- old/MusicBrainz-DiscID-0.04/DiscID.xs 2017-01-30 00:18:21.000000000
+0100
+++ new/MusicBrainz-DiscID-0.06/DiscID.xs 2019-10-08 01:09:14.000000000
+0200
@@ -73,13 +73,6 @@
DiscId *disc
##
-## Return an URL for retrieving CD information from MusicBrainz' web service.
-##
-char*
-discid_get_webservice_url( disc )
- DiscId *disc
-
-##
## Return the number of the first track on this disc.
##
int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/LICENSE.md
new/MusicBrainz-DiscID-0.06/LICENSE.md
--- old/MusicBrainz-DiscID-0.04/LICENSE.md 1970-01-01 01:00:00.000000000
+0100
+++ new/MusicBrainz-DiscID-0.06/LICENSE.md 2019-10-08 01:09:14.000000000
+0200
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2009-2019 Nicholas J Humfrey
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/MANIFEST
new/MusicBrainz-DiscID-0.06/MANIFEST
--- old/MusicBrainz-DiscID-0.04/MANIFEST 2017-06-13 23:33:36.000000000
+0200
+++ new/MusicBrainz-DiscID-0.06/MANIFEST 2019-10-08 09:55:44.000000000
+0200
@@ -2,6 +2,7 @@
DiscID.xs
examples/discid.pl
lib/MusicBrainz/DiscID.pm
+LICENSE.md
Makefile.PL
MANIFEST
README.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/META.json
new/MusicBrainz-DiscID-0.06/META.json
--- old/MusicBrainz-DiscID-0.04/META.json 2017-06-13 23:33:36.000000000
+0200
+++ new/MusicBrainz-DiscID-0.06/META.json 2019-10-08 09:55:44.000000000
+0200
@@ -4,13 +4,13 @@
"Nicholas J. Humfrey"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter
version 2.133380",
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
"license" : [
- "gpl_2"
+ "mit"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "MusicBrainz-DiscID",
"no_index" : {
@@ -19,6 +19,25 @@
"inc"
]
},
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test" : "1.00",
+ "Test::More" : "0",
+ "Test::Pod" : "1.00"
+ }
+ }
+ },
"release_status" : "stable",
"resources" : {
"bugtracker" : {
@@ -30,5 +49,6 @@
"web" : "https://github.com/njh/perl-musicbrainz-discid"
}
},
- "version" : "0.04"
+ "version" : "0.06",
+ "x_serialization_backend" : "JSON::PP version 2.97001"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/META.yml
new/MusicBrainz-DiscID-0.06/META.yml
--- old/MusicBrainz-DiscID-0.04/META.yml 2017-06-13 23:33:35.000000000
+0200
+++ new/MusicBrainz-DiscID-0.06/META.yml 2019-10-08 09:55:44.000000000
+0200
@@ -2,13 +2,19 @@
abstract: 'Perl interface for the MusicBrainz libdiscid library'
author:
- 'Nicholas J. Humfrey'
-build_requires: {}
+build_requires:
+ ExtUtils::MakeMaker: '0'
+ Test: '1.00'
+ Test::More: '0'
+ Test::Pod: '1.00'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version
2.133380'
-license: gpl
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
+license: mit
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: MusicBrainz-DiscID
no_index:
directory:
@@ -17,4 +23,5 @@
resources:
bugtracker: https://github.com/njh/perl-musicbrainz-discid/issues
repository: https://github.com/njh/perl-musicbrainz-discid.git
-version: 0.04
+version: '0.06'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/Makefile.PL
new/MusicBrainz-DiscID-0.06/Makefile.PL
--- old/MusicBrainz-DiscID-0.04/Makefile.PL 2017-01-30 00:18:21.000000000
+0100
+++ new/MusicBrainz-DiscID-0.06/Makefile.PL 2019-10-08 01:09:14.000000000
+0200
@@ -46,7 +46,7 @@
ABSTRACT_FROM => 'lib/MusicBrainz/DiscID.pm',
VERSION_FROM => 'lib/MusicBrainz/DiscID.pm',
AUTHOR => 'Nicholas J. Humfrey',
- LICENSE => 'gpl_2',
+ LICENSE => 'mit',
TEST_REQUIRES => {
'Test' => '1.00',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/README.md
new/MusicBrainz-DiscID-0.06/README.md
--- old/MusicBrainz-DiscID-0.04/README.md 2017-01-30 00:18:21.000000000
+0100
+++ new/MusicBrainz-DiscID-0.06/README.md 2019-10-08 01:09:14.000000000
+0200
@@ -25,23 +25,20 @@
make install
-AUTHOR
-------
+License
+-------
-Nicholas J. Humfrey, [email protected]
+This perl module is licensed under the terms of the MIT license.
+See the file LICENSE for details.
-COPYRIGHT
----------
+Contact
+-------
-Copyright (C) 2009 Nicholas J. Humfrey
+* Author: Nicholas J Humfrey
+* Twitter: [@njh]
+* Home Page: http://njh.me/
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+
+[@njh]: http://twitter.com/njh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/examples/discid.pl
new/MusicBrainz-DiscID-0.06/examples/discid.pl
--- old/MusicBrainz-DiscID-0.04/examples/discid.pl 2017-01-30
00:18:21.000000000 +0100
+++ new/MusicBrainz-DiscID-0.06/examples/discid.pl 2019-10-08
01:09:14.000000000 +0200
@@ -29,6 +29,5 @@
}
printf("Submit via : %s\n", $disc->submission_url());
-printf("WS url : %s\n", $disc->webservice_url());
undef $disc;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/lib/MusicBrainz/DiscID.pm
new/MusicBrainz-DiscID-0.06/lib/MusicBrainz/DiscID.pm
--- old/MusicBrainz-DiscID-0.04/lib/MusicBrainz/DiscID.pm 2017-06-13
23:25:46.000000000 +0200
+++ new/MusicBrainz-DiscID-0.06/lib/MusicBrainz/DiscID.pm 2019-10-08
09:55:40.000000000 +0200
@@ -4,7 +4,7 @@
#
# libdiscid: perl bindings
#
-# Copyright 2009 Nicholas J. Humfrey <[email protected]>
+# Copyright 2009-2019 Nicholas J. Humfrey <[email protected]>
#
use XSLoader;
@@ -14,7 +14,7 @@
use vars qw/$VERSION/;
-$VERSION="0.04";
+$VERSION="0.06";
XSLoader::load('MusicBrainz::DiscID', $VERSION);
@@ -102,11 +102,6 @@
return MusicBrainz::DiscID::discid_get_track_length($self->{disc}, $_[0]);
}
-sub webservice_url {
- my $self = shift;
- return MusicBrainz::DiscID::discid_get_webservice_url($self->{disc});
-}
-
sub DESTROY {
my $self=shift;
@@ -213,11 +208,6 @@
Return the sector offset of a track.
-=item $discid->webservice_url()
-
-Returns a Webservice URL for the DiscID as a string.
-Returns undef if no ID was yet read.
-
=back
=head1 SEE ALSO
@@ -230,16 +220,26 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2009 Nicholas J. Humfrey
+The MIT License (MIT)
+
+Copyright (c) 2009-2019 Nicholas J Humfrey
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MusicBrainz-DiscID-0.04/t/10discid.t
new/MusicBrainz-DiscID-0.06/t/10discid.t
--- old/MusicBrainz-DiscID-0.04/t/10discid.t 2017-01-30 00:18:21.000000000
+0100
+++ new/MusicBrainz-DiscID-0.06/t/10discid.t 2019-10-08 01:09:14.000000000
+0200
@@ -5,7 +5,7 @@
use Test::More;
# use a BEGIN block so we print our plan before modules are loaded
-BEGIN { plan tests => 56 }
+BEGIN { plan tests => 55 }
# load modules
use MusicBrainz::DiscID;
@@ -32,7 +32,6 @@
is( $disc->last_track_num, 22);
is( $disc->sectors, 303602);
like( $disc->submission_url,
qr{http://(mm\.musicbrainz\.org/bare/cdlookup\.html|musicbrainz\.org/cdtoc/attach)\?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750});
-like( $disc->webservice_url,
qr{http://(mm\.)?musicbrainz\.org/ws/1/release\?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750});
is( $disc->track_offset(1), 150);
is( $disc->track_offset(2), 9700);
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.cs1Meq/_old 2019-10-14 12:40:37.050839043 +0200
+++ /var/tmp/diff_new_pack.cs1Meq/_new 2019-10-14 12:40:37.050839043 +0200
@@ -8,5 +8,4 @@
BuildRequires: pkgconfig(libdiscid) >= 0.2.2
Requires: perl(Carp)
Requires: perl(XSLoader)
-# cpanspec gets the license wrong!
-license: GPL-2.0-or-later
+#license: GPL-2.0-or-later