diff --git a/Text-Table-1.116.tar.gz b/Text-Table-1.116.tar.gz deleted file mode 100644 index 072a675..0000000 --- a/Text-Table-1.116.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:600fd936a249fd98101ebe2aa81409cd509f3f8e72795aa17bdb9c345850cbf1 -size 29800 diff --git a/Text-Table-1.120.tar.gz b/Text-Table-1.120.tar.gz new file mode 100644 index 0000000..0d36358 --- /dev/null +++ b/Text-Table-1.120.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb0d72ff143d7669193552182ec1915930de9878578a88957744ecdc4fc4c7f4 +size 23373 diff --git a/perl-Text-Table.changes b/perl-Text-Table.changes index 3fd1c1d..0090a4f 100644 --- a/perl-Text-Table.changes +++ b/perl-Text-Table.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 17 08:11:03 UTC 2011 - pascal.bleser@opensuse.org + +- update to 1.120 + * add the callback ("sub { ... }")-based ->rule() method to render each + section in a rule differently + ------------------------------------------------------------------- Wed Dec 1 13:35:48 UTC 2010 - coolo@novell.com diff --git a/perl-Text-Table.spec b/perl-Text-Table.spec index 996edee..245869b 100644 --- a/perl-Text-Table.spec +++ b/perl-Text-Table.spec @@ -1,59 +1,58 @@ # vim: set sw=4 ts=4 et nu: -# norootforbuild Name: perl-Text-Table -Version: 1.116 +Version: 1.120 Release: 0 Summary: Organize Data in Tables -Source: http://search.cpan.org/CPAN/authors/id/A/AN/ANNO/Text-Table-%{version}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz URL: http://search.cpan.org/dist/Text-Table Group: Development/Libraries/Perl -License: Perl License +License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} -BuildRequires: perl BuildRequires: perl-macros -BuildRequires: make -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) +BuildRequires: perl(Module::Build) >= 0.36 +BuildRequires: perl(warnings) +BuildRequires: perl(strict) BuildRequires: perl(Text::Aligner) >= 0.05 -Requires: perl(Test::More) +Requires: perl(warnings) +Requires: perl(strict) Requires: perl(Text::Aligner) >= 0.05 +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif %description Organization of data in table form is a time-honored and useful method of data representation. While columns of data are trivially generated by computer through formatted output, even simple tasks like keeping titles aligned with the data columns are not trivial, and the one-shot solutions -one comes up with tend to be particularly hard to maintain. - -Text::Table allows you to create and maintain tables that adapt to alignment +one comes up with tend to be particularly hard to maintain. Text::Table +allows you to create and maintain tables that adapt to alignment requirements as you use them. %prep %setup -q -n "Text-Table-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%__perl ./Build.PL +./Build %install -%perl_make_install +./Build pure_install --destdir "%{buildroot}" --installdirs vendor %perl_process_packlist %check -%__make test +./Build test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) -%doc Changes README +%doc Changes README LICENSE %dir %{perl_vendorlib}/Text %{perl_vendorlib}/Text/Table.pm -%dir %{perl_vendorarch}/auto/Text -%{perl_vendorarch}/auto/Text/Table %doc %{perl_man3dir}/Text::Table.%{perl_man3ext}%{ext_man}