Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-String-CRC32 for openSUSE:Factory checked in at 2021-02-07 15:22:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-String-CRC32 (Old) and /work/SRC/openSUSE:Factory/.perl-String-CRC32.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-String-CRC32" Sun Feb 7 15:22:01 2021 rev:5 rq:869977 version:2.100 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-String-CRC32/perl-String-CRC32.changes 2020-11-10 13:53:39.362827005 +0100 +++ /work/SRC/openSUSE:Factory/.perl-String-CRC32.new.28504/perl-String-CRC32.changes 2021-02-07 15:24:26.994228699 +0100 @@ -1,0 +2,10 @@ +Fri Feb 5 03:13:01 UTC 2021 - Tina M??ller <timueller+p...@suse.de> + +- updated to 2.100 + see /usr/share/doc/packages/perl-String-CRC32/Changes + + 2.100 2021-02-04 + - Declare vars with our instead of use vars (GH #7, thanks to Grinnz) + - Quote $VERSION to preserve formatting (GH #6, thanks to Grinnz) + +------------------------------------------------------------------- Old: ---- String-CRC32-2.tar.gz New: ---- String-CRC32-2.100.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-String-CRC32.spec ++++++ --- /var/tmp/diff_new_pack.O0Hoh9/_old 2021-02-07 15:24:27.566229353 +0100 +++ /var/tmp/diff_new_pack.O0Hoh9/_new 2021-02-07 15:24:27.570229357 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-String-CRC32 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,15 @@ # +%define cpan_name String-CRC32 Name: perl-String-CRC32 -Version: 2 +Version: 2.100 Release: 0 -%define cpan_name String-CRC32 Summary: Perl interface for cyclic redundancy check generation License: SUSE-Public-Domain -Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} @@ -39,11 +37,11 @@ well as strings. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +%make_build %check make test @@ -54,7 +52,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README.md %license LICENSE ++++++ String-CRC32-2.tar.gz -> String-CRC32-2.100.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-CRC32-2/CRC32.pm new/String-CRC32-2.100/CRC32.pm --- old/String-CRC32-2/CRC32.pm 2020-11-09 08:19:22.000000000 +0100 +++ new/String-CRC32-2.100/CRC32.pm 2021-02-04 08:01:05.000000000 +0100 @@ -7,17 +7,15 @@ require Exporter; use XSLoader (); -use vars qw/ @ISA $VERSION @EXPORT_OK @EXPORT /; +our @ISA = qw(Exporter); -@ISA = qw(Exporter); - -$VERSION = 2.000; +our $VERSION = '2.100'; # Items to export into caller's namespace by default -@EXPORT = qw(crc32); +our @EXPORT = qw(crc32); # Other items we are prepared to export if requested -@EXPORT_OK = qw(); +our @EXPORT_OK = qw(); XSLoader::load( 'String::CRC32', $VERSION ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-CRC32-2/Changes new/String-CRC32-2.100/Changes --- old/String-CRC32-2/Changes 2020-11-09 08:19:22.000000000 +0100 +++ new/String-CRC32-2.100/Changes 2021-02-04 08:01:05.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for String::CRC32 +2.100 2021-02-04 + - Declare vars with our instead of use vars (GH #7, thanks to Grinnz) + - Quote $VERSION to preserve formatting (GH #6, thanks to Grinnz) + 2.000 2020-11-09 - Switch to XSLoader rather than DynaLoader (GH #5, thanks to atoomic) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-CRC32-2/META.json new/String-CRC32-2.100/META.json --- old/String-CRC32-2/META.json 2020-11-09 08:19:42.000000000 +0100 +++ new/String-CRC32-2.100/META.json 2021-02-04 08:01:39.000000000 +0100 @@ -44,6 +44,6 @@ "url" : "https://github.com/leejo/string-crc32" } }, - "version" : 2, + "version" : "2.100", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-CRC32-2/META.yml new/String-CRC32-2.100/META.yml --- old/String-CRC32-2/META.yml 2020-11-09 08:19:42.000000000 +0100 +++ new/String-CRC32-2.100/META.yml 2021-02-04 08:01:39.000000000 +0100 @@ -22,5 +22,5 @@ homepage: https://metacpan.org/module/String::CRC32 license: https://wiki.creativecommons.org/wiki/Public_domain repository: https://github.com/leejo/string-crc32 -version: 2 +version: '2.100' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-CRC32-2/README.md new/String-CRC32-2.100/README.md --- old/String-CRC32-2/README.md 2020-11-09 08:19:31.000000000 +0100 +++ new/String-CRC32-2.100/README.md 2020-11-09 08:21:33.000000000 +0100 @@ -1 +1,66 @@ +# NAME +String::CRC32 - Perl interface for cyclic redundancy check generation + +# SYNOPSIS + + use String::CRC32; + + $crc = crc32("some string"); + $crc = crc32("some string", initvalue); + + $somestring = "some string"; + $crc = crc32($somestring); + printf "%08x\n", $crc; + + open my $fh, '<', 'location/of/some.file' or die $!; + binmode $fh; + $crc = crc32($fh); + close $fh; + +# DESCRIPTION + +The **CRC32** module calculates CRC sums of 32 bit lengths as integers. +It generates the same CRC values as ZMODEM, PKZIP, PICCHECK and +many others. + +Despite its name, this module is able to compute +the checksum of files as well as strings. + +# EXAMPLES + + $crc = crc32("some string"); + +results in the same as + + $crc = crc32(" string", crc32("some")); + +This is useful for subsequent CRC checking of substrings. + +You may even check files: + + open my $fh, '<', 'location/of/some.file' or die $!; + binmode $fh; + $crc = crc32($fh); + close $fh; + +A init value may also have been supplied in the above example. + +# AUTHOR + +Soenke J. Peters <peters\_\_p...@opcenter.de> + +Current maintainer: LEEJO + +Address bug reports and comments to: [https://github.com/leejo/string-crc32/issues](https://github.com/leejo/string-crc32/issues) + +# LICENSE + +CRC algorithm code taken from CRC-32 by Craig Bruce. +The module stuff is inspired by a similar perl module called +String::CRC by David Sharnoff & Matthew Dillon. +Horst Fickenscher told me that it could be useful to supply an init +value to the crc checking function and so I included this possibility. + +The author of this package disclaims all copyrights and +releases it into the public domain.