ppisar pushed to perl (master). "Subpackage "open" module in order to keep deprecated "encoding" module optional"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 18 19:01:21 UTC 2015


From 0be6137aa8723f7cf2ca01e9f208a5abe2871262 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 5 Jun 2015 09:53:04 +0200
Subject: Subpackage "open" module in order to keep deprecated "encoding"
 module optional


diff --git a/perl.spec b/perl.spec
index b3c129a..6ad0d5b 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:        345%{?dist}
+Release:        346%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        Practical Extraction and Report Language
 Group:          Development/Languages
@@ -256,7 +256,7 @@ Requires:       perl-Locale-Maketext-Simple
 Requires:       perl-Module-CoreList,
 Requires:       perl-Module-CoreList-tools, perl-Module-Load
 Requires:       perl-Module-Load-Conditional, perl-Module-Loaded, perl-Module-Metadata
-Requires:       perl-PathTools
+Requires:       perl-open, perl-PathTools
 Requires:       perl-Params-Check, perl-Parse-CPAN-Meta, perl-Perl-OSType
 Requires:       perl-Pod-Checker, perl-Pod-Escapes
 Requires:       perl-Pod-Parser, perl-Pod-Perldoc, perl-Pod-Usage
@@ -1315,6 +1315,23 @@ Requires:       %perl_compat
 Gather package and POD information from perl module files
 %endif
 
+%package open
+Summary:        Perl pragma to set default PerlIO layers for input and output
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+Epoch:          0
+Version:        1.10
+Requires:       %perl_compat
+Requires:       perl(Carp)
+Requires:       perl(Encode)
+Requires:       perl(encoding)
+Conflicts:      perl < 4:5.20.2-326
+BuildArch:      noarch
+
+%description open
+The "open" pragma serves as one of the interfaces to declare default "layers"
+(also known as "disciplines") for all I/O.
+
 %if %{dual_life} || %{rebuild_from_scratch}
 %package parent
 Summary:        Establish an ISA relationship with base classes at compile time
@@ -2596,6 +2613,10 @@ popd
 %exclude %{privlib}/Perl/OSType.pm
 %exclude %{_mandir}/man3/Perl::OSType.3pm*
 
+# open
+%exclude %{privlib}/open.pm
+%exclude %{_mandir}/man3/open.3*
+
 # parent
 %exclude %{privlib}/parent.pm
 %exclude %{_mandir}/man3/parent.3*
@@ -3363,6 +3384,10 @@ popd
 %{_mandir}/man3/Parse::CPAN::Meta.3*
 %endif
 
+%files open
+%{privlib}/open.pm
+%{_mandir}/man3/open.3*
+
 %if %{dual_life} || %{rebuild_from_scratch}
 %files parent
 %{privlib}/parent.pm
@@ -3610,6 +3635,10 @@ popd
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Thu Jun 18 2015 Petr Pisar <ppisar at redhat.com> - 4:5.22.0-346
+- Subpackage "open" module in order to keep deprecated "encoding" module
+  optional (bug #1228378)
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4:5.22.0-345
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
@@ -3629,7 +3658,6 @@ popd
 - Clean patches, not needed with new version
 - Update patches to work with new version
 
- 
 * Wed Apr 15 2015 Jitka Plesnikova <jplesnik at redhat.com> - 4:5.20.2-328
 - Sub-package perl-CGI-Fast and perl-Module-Build-Deprecated
 - Add missing dual-life modules to perl-core
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=master&id=0be6137aa8723f7cf2ca01e9f208a5abe2871262


More information about the perl-devel mailing list