From 55d7bb59d8263f0dad27a98c47a874e6dc3db28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Mon, 15 Jun 2015 16:15:24 +0200 Subject: [PATCH] 1.72 bump --- perl-Text-Autoformat.spec | 27 ++++++++++++++++----------- sources | 2 +- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/perl-Text-Autoformat.spec b/perl-Text-Autoformat.spec index 3105767..c299d54 100644 --- a/perl-Text-Autoformat.spec +++ b/perl-Text-Autoformat.spec @@ -1,29 +1,31 @@ Name: perl-Text-Autoformat -Version: 1.669007 -Release: 2%{?dist} +# Maintain six-digit version number to ensure clean upgrade path +%global cpan_version 1.72 +Version: %{cpan_version}0000 +Release: 1%{?dist} Summary: Automatic text wrapping and reformatting License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Autoformat/ -Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Text-Autoformat-%{cpan_version}.tar.gz BuildArch: noarch -# Module Build +# Build +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) -# Module Runtime +# Runtime BuildRequires: perl(Carp) -BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(overload) BuildRequires: perl(Text::Reform) >= 1.11 BuildRequires: perl(Text::Tabs) -BuildRequires: perl(utf8) BuildRequires: perl(vars) -# Test Suite +# Tests only BuildRequires: perl(Test::More) -# Runtime +BuildRequires: perl(utf8) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) # Do not export private modules @@ -41,8 +43,7 @@ The module also supplies a re-entrant, highly configurable replacement for the built-in Perl format() mechanism. %prep -%setup -q -n Text-Autoformat-%{version} -# Drop bogus exec bits +%setup -q -n Text-Autoformat-%{cpan_version} chmod -c -x config.* %build @@ -57,11 +58,15 @@ make pure_install DESTDIR=%{buildroot} make test %files +%license LICENSE %doc Changes README config.emacs config.vim %{perl_vendorlib}/Text/ %{_mandir}/man3/Text::Autoformat.3pm* %changelog +* Mon Jun 15 2015 Petr Ĺ abata - 1.720000-1 +- 1.72 bump + * Fri Jun 05 2015 Jitka Plesnikova - 1.669007-2 - Perl 5.22 rebuild diff --git a/sources b/sources index 326f0d2..7537e3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7c81ac5839d27028f2a7f50d0676c67e Text-Autoformat-1.669007.tar.gz +ebb9d3b1c74776870d65d2b66046876e Text-Autoformat-1.72.tar.gz