Accepting request 1100459 from devel:languages:perl:autoupdate

- updated to 0.134
   see /usr/share/doc/packages/perl-JSON-Color/Changes
  0.134   2023-07-02  Released-By: PERLANCAR; Urgency: medium
          - [doc] Give examples on how to specify options, paraticularly
            color theme.
          - Add a colortheme: bright256.

OBS-URL: https://build.opensuse.org/request/show/1100459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Color?expand=0&rev=5
This commit is contained in:
2023-07-26 12:05:37 +00:00
committed by Git OBS Bridge
parent 2d10bb2a70
commit bc5fa5b8a7
4 changed files with 30 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6b99e4ce4443c6503d53e8208d09dccbb11301107a12cc43864c75235edb6aa
size 19609

3
JSON-Color-0.134.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a74241d9592892f60f36788fd26627a17325c257c7e146e4870da0e8c399b948
size 20203

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jul 3 03:08:01 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.134
see /usr/share/doc/packages/perl-JSON-Color/Changes
0.134 2023-07-02 Released-By: PERLANCAR; Urgency: medium
- [doc] Give examples on how to specify options, paraticularly
color theme.
- Add a colortheme: bright256.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 25 03:07:04 UTC 2021 - Tina Müller <timueller+perl@suse.de> Thu Nov 25 03:07:04 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-JSON-Color # spec file for package perl-JSON-Color
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%define cpan_name JSON-Color %define cpan_name JSON-Color
Name: perl-JSON-Color Name: perl-JSON-Color
Version: 0.133 Version: 0.134.0
Release: 0 Release: 0
Summary: Encode to colored JSON %define cpan_version 0.134
Provides: perl(JSON::Color) = 0.134.0
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Encode to colored JSON
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
@@ -33,7 +35,7 @@ BuildRequires: perl(ColorTheme::NoColor)
BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 BuildRequires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
BuildRequires: perl(ColorThemeRole::ANSI) BuildRequires: perl(ColorThemeRole::ANSI)
BuildRequires: perl(Graphics::ColorNamesLite::WWW) BuildRequires: perl(Graphics::ColorNamesLite::WWW)
BuildRequires: perl(Module::Load::Util) >= 0.004 BuildRequires: perl(Module::Load::Util) >= 0.009
BuildRequires: perl(Role::Tiny) BuildRequires: perl(Role::Tiny)
BuildRequires: perl(Term::ANSIColor) >= 3.00 BuildRequires: perl(Term::ANSIColor) >= 3.00
BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::More) >= 0.98
@@ -43,10 +45,15 @@ Requires: perl(ColorTheme::NoColor)
Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006 Requires: perl(ColorThemeBase::Static::FromStructColors) >= 0.006
Requires: perl(ColorThemeRole::ANSI) Requires: perl(ColorThemeRole::ANSI)
Requires: perl(Graphics::ColorNamesLite::WWW) Requires: perl(Graphics::ColorNamesLite::WWW)
Requires: perl(Module::Load::Util) >= 0.004 Requires: perl(Module::Load::Util) >= 0.009
Requires: perl(Role::Tiny) Requires: perl(Role::Tiny)
Requires: perl(Term::ANSIColor) >= 3.00 Requires: perl(Term::ANSIColor) >= 3.00
Requires: perl(parent) Requires: perl(parent)
Provides: perl(ColorTheme::JSON::Color::bright256) = 0.134.0
Provides: perl(ColorTheme::JSON::Color::default_ansi) = 0.134.0
Provides: perl(ColorTheme::JSON::Color::default_rgb) = 0.134.0
Provides: perl(JSON::Color) = 0.134.0
%define __perllib_provides /bin/true
Recommends: perl(Scalar::Util::LooksLikeNumber) Recommends: perl(Scalar::Util::LooksLikeNumber)
%{perl_requires} %{perl_requires}
@@ -57,7 +64,7 @@ To change the color, see the '%theme' in the source code. In theory you can
also modify it to colorize using HTML. also modify it to colorize using HTML.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor