commit 693797f78d258b2caa1312c469f3296384ed5b5d
Author: Petr Šabata <con...@redhat.com>
Date:   Mon Mar 2 13:49:58 2015 +0100

    0.25 bump

 .gitignore              |  1 +
 perl-Text-VimColor.spec | 30 +++++++++++++++++-------------
 sources                 |  2 +-
 3 files changed, 19 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b6e4c5f..5d09be2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ Text-VimColor-0.11.tar.gz
 /Text-VimColor-0.22.tar.gz
 /Text-VimColor-0.23.tar.gz
 /Text-VimColor-0.24.tar.gz
+/Text-VimColor-0.25.tar.gz
diff --git a/perl-Text-VimColor.spec b/perl-Text-VimColor.spec
index 10ea49c..b895ca2 100644
--- a/perl-Text-VimColor.spec
+++ b/perl-Text-VimColor.spec
@@ -1,6 +1,6 @@
 Name:           perl-Text-VimColor
-Version:        0.24
-Release:        3%{?dist}
+Version:        0.25
+Release:        1%{?dist}
 Summary:        Syntax color text in HTML or XML using Vim
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,7 +8,7 @@ URL:            http://search.cpan.org/dist/Text-VimColor/
 Source0:        
http://www.cpan.org/authors/id/R/RW/RWSTAUNER/Text-VimColor-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(File::ShareDir::Install) >= 0.03
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(IO::File)
@@ -20,14 +20,14 @@ BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::ShareDir)
-BuildRequires:  perl(Path::Class)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Path::Class) >= 0.04
 BuildRequires:  perl(Symbol)
 BuildRequires:  perl(Term::ANSIColor) >= 1.03
 # Tests
 BuildRequires:  perl(Config)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(File::Spec::Functions)
-BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More) >= 0.88
@@ -37,10 +37,13 @@ BuildRequires:  vim-enhanced
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Tie::StdHandle)
 BuildRequires:  perl(XML::Parser)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+Requires:       perl(Path::Class) >= 0.04
 Requires:       perl(Term::ANSIColor) >= 1.03
 Requires:       vim-enhanced
 
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Path::Class\\)$
+
 %description
 This module tries to markup text files according to their syntax. It can be
 used to produce web pages with pretty-printed colorful source code samples.
@@ -52,12 +55,11 @@ interface to the Perl module Text::VimColor:
 %setup -q -n Text-VimColor-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
@@ -65,15 +67,17 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f 
{} +
 make test
 
 %files
+%license LICENSE
 %doc Changes README
 %{_bindir}/text-vimcolor
-%{perl_vendorlib}/Text
-%{perl_vendorlib}/Text/*
-%{perl_vendorlib}/auto/share/dist/Text-VimColor/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
 %{_mandir}/man3/*
-%{_mandir}/man1/text-vimcolor.1.gz
 
 %changelog
+* Mon Mar 02 2015 Petr Šabata <con...@redhat.com> - 0.25-1
+- 0.25 bump
+
 * Thu Aug 28 2014 Jitka Plesnikova <jples...@redhat.com> - 0.24-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 756ebba..d80ea91 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-760eb75865168a5e6ede4287c9cf39af  Text-VimColor-0.24.tar.gz
+91ae616a8925bbf6bac3b8c85a003c1b  Text-VimColor-0.25.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to