From df31eb47de8becc5bddf2f033b906eb3bf5788f2 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 29 Jul 2014 16:40:17 +0200 Subject: [PATCH] Sub-package perl-Term-ANSIColor and remove it (bug #1121924) --- perl.spec | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/perl.spec b/perl.spec index 7682568..ba0fee3 100644 --- a/perl.spec +++ b/perl.spec @@ -30,7 +30,7 @@ Name: perl Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 301%{?dist} +Release: 302%{?dist} Epoch: %{perl_epoch} Summary: Practical Extraction and Report Language Group: Development/Languages @@ -1637,6 +1637,24 @@ Sys::Syslog is an interface to the UNIX syslog(3) function. Call syslog() with a string priority and a list of printf() arguments just like at syslog(3). %endif +%if %{dual_life} || %{rebuild_from_scratch} +%package Term-ANSIColor +Summary: Color screen output using ANSI escape sequences +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 4.02 +Requires: %perl_compat +BuildArch: noarch +Conflicts: perl < 4:5.18.2-302 + +%description Term-ANSIColor +This module has two interfaces, one through color() and colored() and the +other through constants. It also offers the utility functions uncolor(), +colorstrip(), colorvalid(), and coloralias(), which have to be explicitly +imported to be used. +%endif + %if %{dual_life} || %{rebuild_from_scratch} %package Term-UI Summary: Term::ReadLine UI made easy @@ -1928,7 +1946,7 @@ Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-LaTeX Requires: perl-Pod-Parser, perl-Pod-Perldoc, perl-Pod-Usage Requires: perl-podlators, perl-Pod-Simple, perl-Scalar-List-Utils Requires: perl-Socket, perl-Storable, perl-Sys-Syslog, -Requires: perl-Term-UI, perl-Test-Harness, +Requires: perl-Term-ANSIColor, perl-Term-UI, perl-Test-Harness, Requires: perl-Test-Simple Requires: perl-Text-ParseWords, perl-Text-Soundex, perl-Thread-Queue Requires: perl-Time-HiRes @@ -2807,6 +2825,10 @@ sed \ %exclude %{archlib}/auto/Sys/Syslog/ %exclude %{_mandir}/man3/Sys::Syslog.* +# Term-ANSIColor +%exclude %{privlib}/Term/ANSIColor.pm +%exclude %{_mandir}/man3/Term::ANSIColor* + # Term-UI %exclude %{privlib}/Term/UI.pm %exclude %{privlib}/Term/UI/ @@ -3604,6 +3626,12 @@ sed \ %{_mandir}/man3/Storable.* %endif +%if %{dual_life} || %{rebuild_from_scratch} +%files Term-ANSIColor +%{privlib}/Term/ANSIColor.pm +%{_mandir}/man3/Term::ANSIColor* +%endif + %if %{dual_life} || %{rebuild_from_scratch} %files Term-UI %{privlib}/Term/UI/ @@ -3704,6 +3732,9 @@ sed \ # Old changelog entries are preserved in CVS. %changelog +* Tue Jul 29 2014 Jitka Plesnikova - 4:5.18.2-302 +- Sub-package perl-Term-ANSIColor and remove it (bug #1121924) + * Fri Jun 27 2014 Petr Pisar - 4:5.18.2-301 - Remove bundled perl-App-a2p, perl-App-find2perl, perl-App-s2p, and perl-Package-Constants