Accepting request 914008 from devel:languages:perl:autoupdate

- updated to 0.131
   see /usr/share/doc/packages/perl-JSON-Color/Changes
  0.131   2021-05-07  Released-By: PERLANCAR; Urgency: medium
  	- [bugfix] Add missing prereq to ColorThemeRole::ANSI (resolves
  	  https://github.com/ingydotnet/xxx-pm/issues/13).

OBS-URL: https://build.opensuse.org/request/show/914008
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Color?expand=0&rev=3
This commit is contained in:
2021-08-25 16:16:58 +00:00
committed by Git OBS Bridge
parent 6a122e7858
commit bae70e4f57
4 changed files with 24 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-Color
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +16,31 @@
#
Name: perl-JSON-Color
Version: 0.130
Release: 0
%define cpan_name JSON-Color
Name: perl-JSON-Color
Version: 0.131
Release: 0
Summary: Encode to colored JSON
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Color::ANSI::Util) >= 0.164
BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
BuildRequires: perl(ColorThemeRole::ANSI)
BuildRequires: perl(Graphics::ColorNamesLite::WWW)
BuildRequires: perl(Module::Load::Util)
BuildRequires: perl(Module::Load::Util) >= 0.004
BuildRequires: perl(Role::Tiny)
BuildRequires: perl(Term::ANSIColor) >= 3.00
BuildRequires: perl(parent)
Requires: perl(Color::ANSI::Util) >= 0.164
Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
Requires: perl(ColorThemeRole::ANSI)
Requires: perl(Graphics::ColorNamesLite::WWW)
Requires: perl(Module::Load::Util)
Requires: perl(Module::Load::Util) >= 0.004
Requires: perl(Role::Tiny)
Requires: perl(Term::ANSIColor) >= 3.00
Requires: perl(parent)
@@ -54,11 +54,11 @@ To change the color, see the '%theme' in the source code. In theory you can
also modify it to colorize using HTML.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -69,7 +69,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE