epel9
Petr Šabata 10 years ago
parent b39b2f343d
commit 55d7bb59d8

@ -1,29 +1,31 @@
Name: perl-Text-Autoformat Name: perl-Text-Autoformat
Version: 1.669007 # Maintain six-digit version number to ensure clean upgrade path
Release: 2%{?dist} %global cpan_version 1.72
Version: %{cpan_version}0000
Release: 1%{?dist}
Summary: Automatic text wrapping and reformatting Summary: Automatic text wrapping and reformatting
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-Autoformat/ 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 BuildArch: noarch
# Module Build # Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Module Runtime # Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(Text::Reform) >= 1.11 BuildRequires: perl(Text::Reform) >= 1.11
BuildRequires: perl(Text::Tabs) BuildRequires: perl(Text::Tabs)
BuildRequires: perl(utf8)
BuildRequires: perl(vars) BuildRequires: perl(vars)
# Test Suite # Tests only
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# Runtime BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
# Do not export private modules # 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. the built-in Perl format() mechanism.
%prep %prep
%setup -q -n Text-Autoformat-%{version} %setup -q -n Text-Autoformat-%{cpan_version}
# Drop bogus exec bits
chmod -c -x config.* chmod -c -x config.*
%build %build
@ -57,11 +58,15 @@ make pure_install DESTDIR=%{buildroot}
make test make test
%files %files
%license LICENSE
%doc Changes README config.emacs config.vim %doc Changes README config.emacs config.vim
%{perl_vendorlib}/Text/ %{perl_vendorlib}/Text/
%{_mandir}/man3/Text::Autoformat.3pm* %{_mandir}/man3/Text::Autoformat.3pm*
%changelog %changelog
* Mon Jun 15 2015 Petr Šabata <contyk@redhat.com> - 1.720000-1
- 1.72 bump
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.669007-2 * Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.669007-2
- Perl 5.22 rebuild - Perl 5.22 rebuild

@ -1 +1 @@
7c81ac5839d27028f2a7f50d0676c67e Text-Autoformat-1.669007.tar.gz ebb9d3b1c74776870d65d2b66046876e Text-Autoformat-1.72.tar.gz

Loading…
Cancel
Save