[perl] Sub-package perl-Term-ANSIColor and remove it (bug #1121924)

Jitka Plesnikova jplesnik at fedoraproject.org
Tue Jul 29 14:41:13 UTC 2014


commit df31eb47de8becc5bddf2f033b906eb3bf5788f2
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Tue Jul 29 16:40:17 2014 +0200

    Sub-package perl-Term-ANSIColor and remove it (bug #1121924)

 perl.spec |   35 +++++++++++++++++++++++++++++++++--
 1 files 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
@@ -1638,6 +1638,24 @@ 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
 Group:          Development/Libraries
@@ -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/
@@ -3605,6 +3627,12 @@ sed \
 %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/
 %{privlib}/Term/UI.pm
@@ -3704,6 +3732,9 @@ sed \
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Tue Jul 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 4:5.18.2-302
+- Sub-package perl-Term-ANSIColor and remove it (bug #1121924)
+
 * Fri Jun 27 2014 Petr Pisar <ppisar at redhat.com> - 4:5.18.2-301
 - Remove bundled perl-App-a2p, perl-App-find2perl, perl-App-s2p, and
   perl-Package-Constants


More information about the scm-commits mailing list