From 0a034043c6b9a92d4104e303eb8b0a3afc44774b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 7 Jan 2020 13:08:58 +0100 Subject: [PATCH] Subpackage English --- gendep.macros | 5 ++++- perl.spec | 29 ++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/gendep.macros b/gendep.macros index d6cadd8..9f8a909 100644 --- a/gendep.macros +++ b/gendep.macros @@ -455,6 +455,10 @@ Requires: perl(strict) \ Requires: perl(vars) \ Requires: perl(warnings) \ %{nil} +%global gendep_perl_English \ +Requires: perl(Exporter) \ +Provides: perl(English) = 1.10 \ +%{nil} %global gendep_perl_Env \ Requires: perl(Config) \ Requires: perl(Tie::Array) \ @@ -2188,7 +2192,6 @@ Provides: perl(DB) = 1.08 \ Provides: perl(DirHandle) = 1.05 \ Provides: perl(DynaLoader) = 1.45 \ Provides: perl(EVERY::LAST) \ -Provides: perl(English) = 1.10 \ Provides: perl(Getopt::Std) = 1.12 \ Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(SelectSaver) = 1.02 \ diff --git a/perl.spec b/perl.spec index ae75195..ad97302 100644 --- a/perl.spec +++ b/perl.spec @@ -381,7 +381,7 @@ Requires: perl-Devel-Peek, perl-Devel-PPPort, perl-Devel-SelfStubber, Requires: perl-diagnostics, perl-Digest, perl-Digest-MD5, perl-Digest-SHA, Requires: perl-Dumpvalue, Requires: perl-Encode, perl-Encode-devel, perl-encoding, -Requires: perl-encoding-warnings, +Requires: perl-encoding-warnings, perl-English, Requires: perl-Env, perl-Errno, perl-experimental, perl-Exporter, Requires: perl-ExtUtils-CBuilder, perl-ExtUtils-Constant, Requires: perl-ExtUtils-Command, @@ -1482,6 +1482,24 @@ was used to implement this module has been removed. Hence, if you load this module on Perl 5.26.0, you will get one warning that the module is no longer supported; and the module will do nothing thereafter. +%package English +Summary: Nice English or awk names for ugly punctuation variables +License: GPL+ or Artistic +Epoch: 0 +Version: 1.10 +Requires: %perl_compat +Requires: perl(Carp) +Requires: perl(warnings) +%if %{defined perl_bootstrap} +%gendep_perl_English +%endif +BuildArch: noarch +Conflicts: perl-interpreter < 4:5.30.1-451 + +%description English +This module provides aliases for the built-in variables whose names no one +seems to like to read. + %if %{dual_life} || %{rebuild_from_scratch} %package Env Summary: Perl module that imports environment variables as scalars or arrays @@ -4716,6 +4734,10 @@ popd %exclude %{privlib}/encoding/warnings.pm %exclude %{_mandir}/man3/encoding::warnings.3* +# English +%exclude %{privlib}/English.pm +%exclude %{_mandir}/man3/English.3* + # Env %exclude %{privlib}/Env.pm %exclude %{_mandir}/man3/Env.3* @@ -5984,6 +6006,10 @@ popd %{privlib}/encoding/warnings.pm %{_mandir}/man3/encoding::warnings.3* +%files English +%{privlib}/English.pm +%{_mandir}/man3/English.3* + %if %{dual_life} || %{rebuild_from_scratch} %files Env %{privlib}/Env.pm @@ -7106,6 +7132,7 @@ popd - Subpackage overload - Subpackage overloading - Subpackage Config::Extensions +- Subpackage English * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild