[perl-Text-VimColor] 0.20 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b7ed442719c2f4f15a78a431a6d51d9ec7618acf
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Tue Aug 14 17:43:01 2012 +0200

    0.20 bump

 .gitignore              |    1 +
 perl-Text-VimColor.spec |   20 ++++++++++++--------
 sources                 |    2 +-
 3 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 560edf4..f76fe4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ Text-VimColor-0.11.tar.gz
 /Text-VimColor-0.15.tar.gz
 /Text-VimColor-0.17.tar.gz
 /Text-VimColor-0.18.tar.gz
+/Text-VimColor-0.20.tar.gz
diff --git a/perl-Text-VimColor.spec b/perl-Text-VimColor.spec
index a2c1a5d..e871eed 100644
--- a/perl-Text-VimColor.spec
+++ b/perl-Text-VimColor.spec
@@ -1,5 +1,5 @@
 Name:           perl-Text-VimColor
-Version:        0.18
+Version:        0.20
 Release:        1%{?dist}
 Summary:        Syntax color text in HTML or XML using Vim
 License:        GPL+ or Artistic
@@ -30,7 +30,7 @@ BuildRequires:  vim-enhanced
 BuildRequires:  perl(Test::Script) >= 1.05
 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(Term::ANSIColor) >= 1.03
 Requires:       vim-enhanced
 
@@ -45,15 +45,15 @@ interface to the Perl module Text::VimColor:
 %setup -q -n Text-VimColor-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-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/*
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
@@ -68,6 +68,10 @@ make test
 %{_mandir}/man1/text-vimcolor.1.gz
 
 %changelog
+* Tue Aug 14 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.20-1
+- 0.20 bump
+- Modernize spec and drop command macros
+
 * Mon Jul 23 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.18-1
 - 0.18 bump
 
diff --git a/sources b/sources
index 778c6ad..2569c9c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3a34e95a6ac0fd8aaf357f46828c3109  Text-VimColor-0.18.tar.gz
+1c1b1120115c988ea2d251859e226d59  Text-VimColor-0.20.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux