commit 2aaa457fd244ed3739c504d66bee3493710db7e4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Sun Jul 21 10:03:29 2013 +0200 0.021 bump .gitignore | 1 + Color-Library-0.02-UTF8.patch | 482 ----------------------------------- Color-Library-0.021-pod-fixes.patch | 49 ++++ perl-Color-Library.spec | 51 ++-- sources | 2 +- 5 files changed, 77 insertions(+), 508 deletions(-) --- diff --git a/.gitignore b/.gitignore index 0a6c5a6..c8c50a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Color-Library-0.02.tar.gz +/Color-Library-0.021.tar.gz diff --git a/Color-Library-0.021-pod-fixes.patch b/Color-Library-0.021-pod-fixes.patch new file mode 100644 index 0000000..e51f414 --- /dev/null +++ b/Color-Library-0.021-pod-fixes.patch @@ -0,0 +1,49 @@ +Description: various POD fixes +Origin: vendor +Author: gregor herrmann <gregoa@xxxxxxxxxx> +Last-Update: 2013-06-09 + +--- a/lib/Color/Library/Color.pm ++++ b/lib/Color/Library/Color.pm +@@ -227,6 +227,8 @@ + + =cut + ++=back ++ + # Partly taken from Imager/Color.pm + sub parse_rgb_color { + return (@_) if @_ == 3 && ! grep /[^\d.+eE-]/, @_; +--- a/lib/Color/Library/Dictionary.pm ++++ b/lib/Color/Library/Dictionary.pm +@@ -227,6 +227,8 @@ + + Returns the description of $dictionary, if any + ++=back ++ + =cut + + sub description { +--- a/lib/Color/Library/Dictionary/NBS_ISCC/H.pm ++++ b/lib/Color/Library/Dictionary/NBS_ISCC/H.pm +@@ -11,6 +11,8 @@ + + =pod + ++=encoding latin1 ++ + =head1 NAME + + Color::Library::Dictionary::NBS_ISCC::H - (NBS/ISCC H) Horticultural Colour Charts +--- a/lib/Color/Library/Dictionary/NBS_ISCC/M.pm ++++ b/lib/Color/Library/Dictionary/NBS_ISCC/M.pm +@@ -11,6 +11,8 @@ + + =pod + ++=encoding latin1 ++ + =head1 NAME + + Color::Library::Dictionary::NBS_ISCC::M - (NBS/ISCC M) Dictionary of Color diff --git a/perl-Color-Library.spec b/perl-Color-Library.spec index d2c43bb..638077e 100644 --- a/perl-Color-Library.spec +++ b/perl-Color-Library.spec @@ -1,59 +1,60 @@ Name: perl-Color-Library -Version: 0.02 -Release: 14%{?dist} +Version: 0.021 +Release: 1%{?dist} Summary: Easy-to-use and comprehensive named-color library License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Color-Library/ -Source0: http://www.cpan.org/authors/id/R/RK/RKRIMEN/Color-Library-%{version}.tar.gz -Patch0: Color-Library-0.02-UTF8.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/R/RO/ROKR/Color-Library-%{version}.tar.gz +# Fix POD syntax, CPAN RT#86023 +Patch0: Color-Library-0.021-pod-fixes.patch BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(Class::Data::Inheritable) -BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Pluggable) +BuildRequires: perl(overload) +# Tests: BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -Requires: perl(Class::Accessor::Fast) -Requires: perl(Class::Data::Inheritable) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::Most) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(overload) %description Color::Library is an easy-to-use and comprehensive named-color -dictionary. Currently provides coverage for www (svg, html, css) colors, -x11 colors, and more. +dictionary. Currently provides coverage for WWW (SVG, HTML, CSS) colors, +X11 colors, and more. %prep %setup -q -n Color-Library-%{version} %patch0 -p1 %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test - -%clean -rm -rf $RPM_BUILD_ROOT +make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sun Jul 21 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.021-1 +- 0.021 bump + * Sun Jul 21 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.02-14 - Perl 5.18 rebuild diff --git a/sources b/sources index 5a60015..44eaf39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3d9e519a836aa0a438076ab04c61e31f Color-Library-0.02.tar.gz +6361c2ee20d64d9fa16be4015be798fc Color-Library-0.021.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel