[perl-Text-VimColor] 0.12 bump

Petr Sabata psabata at fedoraproject.org
Fri Aug 12 11:51:01 UTC 2011


commit bf7d1184acb2130ad8bd2580c33f419938f2eba2
Author: Petr Sabata <contyk at redhat.com>
Date:   Fri Aug 12 13:50:16 2011 +0200

    0.12 bump

 .gitignore              |    1 +
 perl-Text-VimColor.spec |   18 +++++++-----------
 sources                 |    2 +-
 3 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f2cac0a..6f228db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-VimColor-0.11.tar.gz
+/Text-VimColor-0.12.tar.gz
diff --git a/perl-Text-VimColor.spec b/perl-Text-VimColor.spec
index 5c9cfcb..aa8650a 100644
--- a/perl-Text-VimColor.spec
+++ b/perl-Text-VimColor.spec
@@ -1,14 +1,14 @@
 Name:           perl-Text-VimColor
-Version:        0.11
-Release:        9%{?dist}
+Version:        0.12
+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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Path::Class) >= 0.02
+BuildRequires:  perl(Term::ANSIColor)
 BuildRequires:  perl(Test::More)
 # needed for test
 BuildRequires:  vim-enhanced
@@ -32,24 +32,16 @@ This program is a command line interface to the Perl module Text::VimColor.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README
 %{_bindir}/text-vimcolor
 %{perl_vendorlib}/Text
@@ -58,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/text-vimcolor.1.gz
 
 %changelog
+* Fri Aug 12 2011 Petr Sabata <contyk at redhat.com> - 0.12-1
+- 0.12 bump
+- Remove now obsolete Buildroot and defattr
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.11-9
 - Perl mass rebuild
 
diff --git a/sources b/sources
index c532fe6..f6d32ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-268fb3f630b463fcec528d798dcf77c3  Text-VimColor-0.11.tar.gz
+1c5bb42060d5169f747dc47e4207f6c9  Text-VimColor-0.12.tar.gz



More information about the perl-devel mailing list