8
0

Accepting request 224631 from home:scarabeus_iv

- Version bump to 1.129:
  * Add minimum perl version to META.yml (CPANTS).
  * Typo fixes thanks to David Steinbrunner.
  * Add t/style-trailing-space.t.
  * Remove trailing space.
  * Fix handling of regular expression aligners.
  * Add examples/Text-Table-UTF8-example.pl

- Format with spec-cleaner and add required header license.
- Fix license string.

OBS-URL: https://build.opensuse.org/request/show/224631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Table?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2014-03-04 21:26:32 +00:00
committed by Git OBS Bridge
parent c76925c19d
commit 8dfdb96552
4 changed files with 51 additions and 22 deletions

View File

@@ -1,27 +1,41 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Text-Table
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Text-Table
Version: 1.124
Version: 1.129
Release: 0
Summary: Organize Data in Tables
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz
URL: http://search.cpan.org/dist/Text-Table
License: BSD-3-Clause
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
Url: http://search.cpan.org/dist/Text-Table
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz
BuildRequires: perl-macros
BuildRequires: perl(Test::More)
BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(warnings)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Aligner) >= 0.05
Requires: perl(warnings)
Requires: perl(strict)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(Text::Aligner) >= 0.05
%if 0%{?suse_version} >= 1120
Requires: perl(strict)
Requires: perl(warnings)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%endif
%{perl_requires}
%description
Organization of data in table form is a time-honored and useful method of
@@ -36,19 +50,16 @@ requirements as you use them.
%setup -q -n "Text-Table-%{version}"
%build
%__perl ./Build.PL
perl ./Build.PL
./Build
%install
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
./Build pure_install --destdir %{buildroot} --installdirs vendor
%perl_process_packlist
%check
./Build test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README LICENSE
@@ -56,3 +67,4 @@ requirements as you use them.
%{perl_vendorlib}/Text/Table.pm
%doc %{perl_man3dir}/Text::Table.%{perl_man3ext}%{ext_man}
%changelog