commit bbc711de29b57ae5b9c148852ac97941a588bd63 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Mar 19 16:39:32 2012 +0100 0.15 bump .gitignore | 1 + .rpmlint | 2 ++ perl-Text-VimColor.spec | 46 +++++++++++++++++++++++++++++++--------------- sources | 2 +- 4 files changed, 35 insertions(+), 16 deletions(-) --- diff --git a/.gitignore b/.gitignore index 7d07f6c..1fdd18e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ Text-VimColor-0.11.tar.gz /Text-VimColor-0.12.tar.gz /Text-VimColor-0.13.tar.gz /Text-VimColor-0.14.tar.gz +/Text-VimColor-0.15.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..c422216 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (filetype|html|prolog)"); diff --git a/perl-Text-VimColor.spec b/perl-Text-VimColor.spec index ea4682c..412c44f 100644 --- a/perl-Text-VimColor.spec +++ b/perl-Text-VimColor.spec @@ -1,30 +1,42 @@ Name: perl-Text-VimColor -Version: 0.14 -Release: 2%{?dist} +Version: 0.15 +Release: 1%{?dist} Summary: Syntax color text in HTML or XML using Vim License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-VimColor/ -Source0: http://www.cpan.org/authors/id/G/GE/GEOFFR/Text-VimColor-%{version}.tar.gz -BuildRequires: perl(ExtUtils::MakeMaker) +Source0: http://www.cpan.org/authors/id/R/RW/RWSTAUNER/Text-VimColor-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(File::ShareDir::Install) >= 0.03 +# Run-time +BuildRequires: perl(Carp) BuildRequires: perl(File::ShareDir) -BuildRequires: perl(File::ShareDir::Install) -BuildRequires: perl(Path::Class) >= 0.02 -BuildRequires: perl(Term::ANSIColor) -BuildRequires: perl(Test::More) -# needed for test +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::File) +BuildRequires: perl(Path::Class) +BuildRequires: perl(Term::ANSIColor) >= 1.03 +# Tests +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: vim-enhanced +# Optional tests +BuildRequires: perl(Test::Script) >= 1.05 +BuildRequires: perl(Tie::StdHandle) BuildRequires: perl(XML::Parser) -Requires: vim-enhanced Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -BuildArch: noarch +Requires: perl(Term::ANSIColor) >= 1.03 +Requires: vim-enhanced %description This module tries to markup text files according to their syntax. It can be -used to produce web pages with pretty-printed colourful source code -samples. It can produce output in the following formats: +used to produce web pages with pretty-printed colorful source code samples. +It can produce output in various formats. text-vimcolor is a command line +interface to the Perl module Text::VimColor: text-vimcolor --format html --filetype prolog foo.pl > foo.html -This program is a command line interface to the Perl module Text::VimColor. %prep %setup -q -n Text-VimColor-%{version} @@ -41,7 +53,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -make test +# Tests must run under UTF-8 locale (RT#75880) +LC_ALL=en_US.UTF-8 make test %files %doc Changes README @@ -53,6 +66,9 @@ make test %{_mandir}/man1/text-vimcolor.1.gz %changelog +* Mon Mar 19 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.15-1 +- 0.15 bump + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 3b4bb09..60481bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dc23ef442a84dcd8a2298d26310e1b4f Text-VimColor-0.14.tar.gz +43f905da3ab7ffe6061ce19403ee2c2a Text-VimColor-0.15.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