From a361cd6581a2bda6fede3ddd8d4342a82fa42aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 11 Dec 2019 16:07:05 +0100 Subject: [PATCH] Subpackage Fcntl --- gendep.macros | 7 ++++++- perl.spec | 27 ++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/gendep.macros b/gendep.macros index b8902da..876831e 100644 --- a/gendep.macros +++ b/gendep.macros @@ -626,6 +626,12 @@ Provides: perl(ExtUtils::Typemaps::InputMap) = 3.38 \ Provides: perl(ExtUtils::Typemaps::OutputMap) = 3.38 \ Provides: perl(ExtUtils::Typemaps::Type) = 3.38 \ %{nil} +%global gendep_perl_Fcntl \ +Requires: perl(Exporter) \ +Requires: perl(strict) \ +Requires: perl(XSLoader) \ +Provides: perl(Fcntl) = 1.13 \ +%{nil} %global gendep_perl_fields \ Requires: perl(:VERSION) >= 5.8.0 \ Requires: perl(strict) \ @@ -1979,7 +1985,6 @@ Provides: perl(DirHandle) = 1.05 \ Provides: perl(DynaLoader) = 1.45 \ Provides: perl(EVERY::LAST) \ Provides: perl(English) = 1.10 \ -Provides: perl(Fcntl) = 1.13 \ Provides: perl(File::Basename) = 2.85 \ Provides: perl(File::Compare) = 1.1006 \ Provides: perl(File::Copy) = 2.34 \ diff --git a/perl.spec b/perl.spec index 8178534..d3b5ab3 100644 --- a/perl.spec +++ b/perl.spec @@ -385,7 +385,7 @@ Requires: perl-ExtUtils-Command, Requires: perl-ExtUtils-Embed, perl-ExtUtils-Install, Requires: perl-ExtUtils-MakeMaker, perl-ExtUtils-Manifest, Requires: perl-ExtUtils-Miniperl, perl-ExtUtils-ParseXS, -Requires: perl-fields, perl-File-DosGlob, perl-File-Fetch, +Requires: perl-Fcntl, perl-fields, perl-File-DosGlob, perl-File-Fetch, Requires: perl-File-Find, perl-File-Path, perl-File-Temp, Requires: perl-Filter, perl-Filter-Simple, %if %{with gdbm} @@ -1634,6 +1634,20 @@ necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. %endif +%package Fcntl +Summary: File operation options +License: GPL+ or Artistic +Epoch: 0 +Version: 1.13 +Requires: %perl_compat +%if %{defined perl_bootstrap} +%gendep_perl_Fcntl +%endif +Conflicts: perl-interpreter < 4:5.30.1-451 + +%description Fcntl +Fcntl module provides file operation related options. + %package fields Summary: Compile-time class fields License: GPL+ or Artistic @@ -4194,6 +4208,11 @@ popd %exclude %{_mandir}/man3/ExtUtils::Typemaps::OutputMap.3* %exclude %{_mandir}/man3/ExtUtils::Typemaps::Type.3* +# Fcntl +%exclude %{archlib}/Fcntl.pm +%exclude %{archlib}/auto/Fcntl +%exclude %{_mandir}/man3/Fcntl.3* + # fields %exclude %{privlib}/fields.pm %exclude %{_mandir}/man3/fields.3* @@ -5288,6 +5307,11 @@ popd %{_mandir}/man3/ExtUtils::Typemaps::Type.3* %endif +%files Fcntl +%{archlib}/Fcntl.pm +%{archlib}/auto/Fcntl +%{_mandir}/man3/Fcntl.3* + %files fields %{privlib}/fields.pm %{_mandir}/man3/fields.3* @@ -6091,6 +6115,7 @@ popd - Subpackage File-Find - Subpackage IPC-Open3 - Subpackage B +- Subpackage Fcntl * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild