From d6bcc0487f2feca98dfcf5bc9b67c25a9300d2ea9829df168baee48c40bfa9f8 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 11 Feb 2021 11:26:25 +0000 Subject: [PATCH] Accepting request 870482 from devel:languages:perl:autoupdate - updated to 0.002 see /usr/share/doc/packages/perl-ColorThemeUtil-ANSI/Changes 0.002 2021-02-06 Released-By: PERLANCAR; Urgency: medium - [bugfix] In cases where item's ansi_fg or ansi_bg is declared, color depth detection was not performed. OBS-URL: https://build.opensuse.org/request/show/870482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ColorThemeUtil-ANSI?expand=0&rev=2 --- ColorThemeUtil-ANSI-0.001.tar.gz | 3 --- ColorThemeUtil-ANSI-0.002.tar.gz | 3 +++ cpanspec.yml | 35 ++++++++++++++++++++++++++++++++ perl-ColorThemeUtil-ANSI.changes | 11 ++++++++++ perl-ColorThemeUtil-ANSI.spec | 20 ++++++++---------- 5 files changed, 58 insertions(+), 14 deletions(-) delete mode 100644 ColorThemeUtil-ANSI-0.001.tar.gz create mode 100644 ColorThemeUtil-ANSI-0.002.tar.gz create mode 100644 cpanspec.yml diff --git a/ColorThemeUtil-ANSI-0.001.tar.gz b/ColorThemeUtil-ANSI-0.001.tar.gz deleted file mode 100644 index e2a0e88..0000000 --- a/ColorThemeUtil-ANSI-0.001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b603f498b6bced96eab11538e5d575b3192ccfb3a20bdf0f83a8dd6c26b353e3 -size 14838 diff --git a/ColorThemeUtil-ANSI-0.002.tar.gz b/ColorThemeUtil-ANSI-0.002.tar.gz new file mode 100644 index 0000000..6a2a7ca --- /dev/null +++ b/ColorThemeUtil-ANSI-0.002.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d18fa33ff6722542b52003e96a385dc5facf18cb17d601a6637c94653297cf9 +size 14332 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-ColorThemeUtil-ANSI.changes b/perl-ColorThemeUtil-ANSI.changes index 5b2bbc3..64ca0a9 100644 --- a/perl-ColorThemeUtil-ANSI.changes +++ b/perl-ColorThemeUtil-ANSI.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Feb 7 03:08:24 UTC 2021 - Tina Müller + +- updated to 0.002 + see /usr/share/doc/packages/perl-ColorThemeUtil-ANSI/Changes + + 0.002 2021-02-06 Released-By: PERLANCAR; Urgency: medium + + - [bugfix] In cases where item's ansi_fg or ansi_bg is declared, + color depth detection was not performed. + ------------------------------------------------------------------- Thu Oct 29 07:26:54 UTC 2020 - Dirk Stoecker diff --git a/perl-ColorThemeUtil-ANSI.spec b/perl-ColorThemeUtil-ANSI.spec index a42a4fb..348f55b 100644 --- a/perl-ColorThemeUtil-ANSI.spec +++ b/perl-ColorThemeUtil-ANSI.spec @@ -1,7 +1,7 @@ # # spec file for package perl-ColorThemeUtil-ANSI # -# 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,33 +16,32 @@ # -Name: perl-ColorThemeUtil-ANSI -Version: 0.001 -Release: 0 %define cpan_name ColorThemeUtil-ANSI +Name: perl-ColorThemeUtil-ANSI +Version: 0.002 +Release: 0 Summary: Utility routines related to color themes and ANSI code 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.161 +BuildRequires: perl(Color::ANSI::Util) >= 0.164 BuildRequires: perl(Test::More) >= 0.98 -Requires: perl(Color::ANSI::Util) >= 0.161 +Requires: perl(Color::ANSI::Util) >= 0.164 %{perl_requires} %description Utility routines related to color themes and ANSI code %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 @@ -53,7 +52,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE