From eaab7b3f12578cde27580e55500d335b48f59096a2dd71b106652a31b27f1593 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Apr 2015 08:12:49 +0000 Subject: [PATCH] Accepting request 297084 from devel:languages:perl:autoupdate - updated to 3.300 see /usr/share/doc/packages/perl-Image-Size/ChangeLog 3.300 Saturday February 28, 2015, 08:44:22 AM -0800 * lib/Image/Size.pm * t/all.t * t/old-os2.bmp (added) Add support for old OS/2 version of BMP header (Geoff Richards). * lib/Image/Size.pm Typo fixes (David Steinbrunner). * lib/Image/Size.pm Avoid a sprintf() warning in Perl 5.21. Perl 5.21 introduces a warning for redundant arguments to s?printf(), so sprintf("%d", 1, 2) would warn. This commit silences that warning by passing sprintf the exact number of arguments that it expects (Brian Fraser). * lib/Image/Size.pm Added =encoding utf8 to pod - the accented character was causing a pod error (Neil Bowers). * lib/Image/Size.pm Added Z<> to the =item [012] to resolve pod warning. You can't have =item 0, so the way round this seems to be to add a Z<> (zero width space) before each digit (Neil Bowers). * lib/Image/Size.pm Added link to github repo to doc (Neil Bowers). OBS-URL: https://build.opensuse.org/request/show/297084 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-Size?expand=0&rev=28 --- Image-Size-3.232.tar.gz | 3 --- Image-Size-3.300.tar.gz | 3 +++ cpanspec.yml | 20 +++++++++++++++++ perl-Image-Size.changes | 50 +++++++++++++++++++++++++++++++++++++++++ perl-Image-Size.spec | 17 +++++++------- 5 files changed, 81 insertions(+), 12 deletions(-) delete mode 100644 Image-Size-3.232.tar.gz create mode 100644 Image-Size-3.300.tar.gz create mode 100644 cpanspec.yml diff --git a/Image-Size-3.232.tar.gz b/Image-Size-3.232.tar.gz deleted file mode 100644 index 5127873..0000000 --- a/Image-Size-3.232.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acc34ef5270473ca925b2757bc9c379add8542280636dade2dc73f324231a0d7 -size 222148 diff --git a/Image-Size-3.300.tar.gz b/Image-Size-3.300.tar.gz new file mode 100644 index 0000000..6513105 --- /dev/null +++ b/Image-Size-3.300.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53c9b1f86531cde060ee63709d1fda73cabc0cf2d581d29b22b014781b9f026b +size 237954 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..5c96db9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +license: LGPL-2.1 or Artistic-1.0 +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Image-Size.changes b/perl-Image-Size.changes index cdfcc3e..ca41462 100644 --- a/perl-Image-Size.changes +++ b/perl-Image-Size.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Tue Apr 14 20:17:04 UTC 2015 - coolo@suse.com + +- updated to 3.300 + see /usr/share/doc/packages/perl-Image-Size/ChangeLog + + 3.300 Saturday February 28, 2015, 08:44:22 AM -0800 + + * lib/Image/Size.pm + * t/all.t + * t/old-os2.bmp (added) + Add support for old OS/2 version of BMP header (Geoff Richards). + + * lib/Image/Size.pm + Typo fixes (David Steinbrunner). + + * lib/Image/Size.pm + Avoid a sprintf() warning in Perl 5.21. Perl 5.21 introduces a + warning for redundant arguments to s?printf(), so sprintf("%d", + 1, 2) would warn. This commit silences that warning by passing + sprintf the exact number of arguments that it expects (Brian + Fraser). + + * lib/Image/Size.pm + Added =encoding utf8 to pod - the accented character was + causing a pod error (Neil Bowers). + + * lib/Image/Size.pm + Added Z<> to the =item [012] to resolve pod warning. You can't + have =item 0, so the way round this seems to be to add a Z<> + (zero width space) before each digit (Neil Bowers). + + * lib/Image/Size.pm + Added link to github repo to doc (Neil Bowers). + + * lib/Image/Size.pm + RT #41238: Applied modified version of patch from user to fix a + die problem with unpack on truncated files. + + * lib/Image/Size.pm + * t/1.sm.webp (added) + * t/all.t + * t/move.cur (added) + * t/tux.ico (added) + Add support for WEBP, ICO and CUR file types (Baldur + Kristinsson). + + * lib/Image/Size.pm + Fix some perlcritic issues. + ------------------------------------------------------------------- Wed Jun 5 07:47:40 UTC 2013 - coolo@suse.com diff --git a/perl-Image-Size.spec b/perl-Image-Size.spec index 63c1505..b48fd6f 100644 --- a/perl-Image-Size.spec +++ b/perl-Image-Size.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Image-Size # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX 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,23 +17,22 @@ Name: perl-Image-Size -Version: 3.232 +Version: 3.300 Release: 0 +#Upstream: Artistic-1.0 or GPL-1.0+ %define cpan_name Image-Size -Summary: Read the dimensions of an image in several popular formats +Summary: Read the Dimensions of an Image in Several Popular Formats License: LGPL-2.1 or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Image-Size/ -Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz -# MANUAL LICENSE +Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.4 +BuildRequires: perl(Module::Build) >= 0.42 BuildRequires: perl(Test::More) >= 0.80 -#BuildRequires: perl(Compress::Zlib) -#BuildRequires: perl(Image::Size) Requires: perl(Module::Build) >= 0.28 Requires: perl(Test::More) >= 0.80 Recommends: perl(Compress::Zlib) >= 2 @@ -64,6 +63,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc ChangeLog ChangeLog.xml etc ex imgsize README README.textile xt +%doc ChangeLog ChangeLog.xml etc ex imgsize README README.textile %changelog