Subpackage FindBin

This commit is contained in:
Petr Písař 2020-01-06 14:24:43 +01:00
parent 8b23b2216c
commit aa9c93c961
2 changed files with 35 additions and 3 deletions

View File

@ -791,6 +791,15 @@ Requires: perl(warnings) \
Requires: perl(XSLoader) \ Requires: perl(XSLoader) \
Provides: perl(GDBM_File) = 1.18 \ Provides: perl(GDBM_File) = 1.18 \
%{nil} %{nil}
%global gendep_perl_FindBin \
Requires: perl(:VERSION) >= 5.0.0 \
Requires: perl(Carp) \
Requires: perl(Cwd) \
Requires: perl(Exporter) \
Requires: perl(File::Basename) \
Requires: perl(File::Spec) \
Provides: perl(FindBin) = 1.51 \
%{nil}
%global gendep_perl_Getopt_Long \ %global gendep_perl_Getopt_Long \
Requires: perl(:VERSION) >= 5.4.0 \ Requires: perl(:VERSION) >= 5.4.0 \
Requires: perl(Exporter) \ Requires: perl(Exporter) \
@ -2141,9 +2150,7 @@ Requires: perl(:VERSION) >= 5.10.1 \
Requires: perl(:VERSION) >= 5.6.0 \ Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(Carp) \ Requires: perl(Carp) \
Requires: perl(Config) \ Requires: perl(Config) \
Requires: perl(Cwd) \
Requires: perl(Exporter) \ Requires: perl(Exporter) \
Requires: perl(File::Basename) \
Requires: perl(File::Spec) \ Requires: perl(File::Spec) \
Requires: perl(I18N::LangTags) \ Requires: perl(I18N::LangTags) \
Requires: perl(Symbol) \ Requires: perl(Symbol) \
@ -2159,7 +2166,6 @@ Provides: perl(English) = 1.10 \
Provides: perl(File::Basename) = 2.85 \ Provides: perl(File::Basename) = 2.85 \
Provides: perl(File::Compare) = 1.1006 \ Provides: perl(File::Compare) = 1.1006 \
Provides: perl(File::Copy) = 2.34 \ Provides: perl(File::Copy) = 2.34 \
Provides: perl(FindBin) = 1.51 \
Provides: perl(Getopt::Std) = 1.12 \ Provides: perl(Getopt::Std) = 1.12 \
Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(Pod::Functions) = 1.13 \
Provides: perl(SelectSaver) = 1.02 \ Provides: perl(SelectSaver) = 1.02 \

View File

@ -392,6 +392,7 @@ Requires: perl-Fcntl, perl-fields, perl-File-DosGlob, perl-File-Fetch,
Requires: perl-File-Find, perl-File-Path, perl-File-stat, perl-File-Temp, Requires: perl-File-Find, perl-File-Path, perl-File-stat, perl-File-Temp,
Requires: perl-FileCache, perl-FileHandle, Requires: perl-FileCache, perl-FileHandle,
Requires: perl-Filter, perl-Filter-Simple, Requires: perl-Filter, perl-Filter-Simple,
Requires: perl-FindBin,
%if %{with gdbm} %if %{with gdbm}
Requires: perl-GDBM_File, Requires: perl-GDBM_File,
%endif %endif
@ -1987,6 +1988,22 @@ The Filter::Simple Perl module provides a simplified interface to
Filter::Util::Call; one that is sufficient for most common cases. Filter::Util::Call; one that is sufficient for most common cases.
%endif %endif
%package FindBin
Summary: Locate a directory of an original Perl script
License: GPL+ or Artistic
Epoch: 0
Version: 1.51
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_FindBin
%endif
BuildArch: noarch
Conflicts: perl-interpreter < 4:5.30.1-451
%description FindBin
Locates the full path to the script bin directory to allow the use of paths
relative to the bin directory.
%if %{with gdbm} %if %{with gdbm}
%package GDBM_File %package GDBM_File
Summary: Perl5 access to the gdbm library Summary: Perl5 access to the gdbm library
@ -4750,6 +4767,10 @@ popd
%exclude %{privlib}/Filter/Simple.pm %exclude %{privlib}/Filter/Simple.pm
%exclude %{_mandir}/man3/Filter::Simple.3* %exclude %{_mandir}/man3/Filter::Simple.3*
# FindBin
%exclude %{privlib}/FindBin.pm
%exclude %{_mandir}/man3/FindBin.*
%if %{with gdbm} %if %{with gdbm}
# GDBM_File # GDBM_File
%exclude %{archlib}/GDBM_File.pm %exclude %{archlib}/GDBM_File.pm
@ -6032,6 +6053,10 @@ popd
%{_mandir}/man3/Filter::Simple.3* %{_mandir}/man3/Filter::Simple.3*
%endif %endif
%files FindBin
%{privlib}/FindBin.pm
%{_mandir}/man3/FindBin.*
%if %{with gdbm} %if %{with gdbm}
%files GDBM_File %files GDBM_File
%{archlib}/GDBM_File.pm %{archlib}/GDBM_File.pm
@ -6908,6 +6933,7 @@ popd
- Subpackage Thread - Subpackage Thread
- Subpackage Unicode::UCD - Subpackage Unicode::UCD
- Subpackage diagnostics and move splain tool from perl-utils there - Subpackage diagnostics and move splain tool from perl-utils there
- Subpackage FindBin
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild