Subpackage filetest

This commit is contained in:
Petr Písař 2020-01-09 16:47:33 +01:00
parent bcbb6516e7
commit 81759216ba
2 changed files with 33 additions and 2 deletions

View File

@ -811,6 +811,9 @@ Requires: perl(IO::File) \
Requires: perl(strict) \ Requires: perl(strict) \
Provides: perl(FileHandle) = 2.03 \ Provides: perl(FileHandle) = 2.03 \
%{nil} %{nil}
%global gendep_perl_filetest \
Provides: perl(filetest) = 1.03 \
%{nil}
%global gendep_perl_Filter \ %global gendep_perl_Filter \
Requires: perl(:VERSION) >= 5.6.0 \ Requires: perl(:VERSION) >= 5.6.0 \
Requires: perl(Exporter) \ Requires: perl(Exporter) \
@ -2210,7 +2213,6 @@ Provides: perl(DB) = 1.08 \
Provides: perl(EVERY::LAST) \ Provides: perl(EVERY::LAST) \
Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(Pod::Functions) = 1.13 \
Provides: perl(dumpvar.pl) \ Provides: perl(dumpvar.pl) \
Provides: perl(filetest) = 1.03 \
Provides: perl(less) = 0.03 \ Provides: perl(less) = 0.03 \
Provides: perl(perl5db.pl) \ Provides: perl(perl5db.pl) \
Provides: perl(sigtrap) = 1.09 \ Provides: perl(sigtrap) = 1.09 \

View File

@ -394,7 +394,7 @@ Requires: perl-Fcntl, perl-feature, perl-fields,
Requires: perl-File-Basename, perl-File-Compare, perl-File-Copy, Requires: perl-File-Basename, perl-File-Compare, perl-File-Copy,
Requires: perl-File-DosGlob, perl-File-Fetch, Requires: 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, perl-filetest,
Requires: perl-Filter, perl-Filter-Simple, Requires: perl-Filter, perl-Filter-Simple,
Requires: perl-FindBin, Requires: perl-FindBin,
%if %{with gdbm} %if %{with gdbm}
@ -2102,6 +2102,26 @@ Conflicts: perl-interpreter < 4:5.30.1-451
This is an object-oriented interface for opening files and performing This is an object-oriented interface for opening files and performing
input/output operations on them. input/output operations on them.
%package filetest
Summary: Perl pragma to control the filetest permission operators
License: GPL+ or Artistic
Epoch: 0
Version: 1.03
BuildArch: noarch
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_filetest
%endif
Conflicts: perl < 4:5.30.1-451
%description filetest
The default behavior of file test operators (e.g. "-r") is to use the simple
mode bits as returned by the stat() family of system calls. However, many
operating systems have additional features to define more complex access
rights, for example ACLs (Access Control Lists). For such environments, "use
filetest" may help the permission operators to return results more consistent
with other tools.
%if %{dual_life} || %{rebuild_from_scratch} %if %{dual_life} || %{rebuild_from_scratch}
# FIXME Filter-Simple? version? # FIXME Filter-Simple? version?
%package Filter %package Filter
@ -5037,6 +5057,10 @@ popd
%exclude %{privlib}/FileHandle.pm %exclude %{privlib}/FileHandle.pm
%exclude %{_mandir}/man3/FileHandle.3* %exclude %{_mandir}/man3/FileHandle.3*
# filetest
%exclude %{privlib}/filetest.pm
%exclude %{_mandir}/man3/filetest.3*
# Filter # Filter
%exclude %dir %{archlib}/auto/Filter %exclude %dir %{archlib}/auto/Filter
%exclude %{archlib}/auto/Filter/Util %exclude %{archlib}/auto/Filter/Util
@ -6385,6 +6409,10 @@ popd
%{privlib}/FileHandle.pm %{privlib}/FileHandle.pm
%{_mandir}/man3/FileHandle.3* %{_mandir}/man3/FileHandle.3*
%files filetest
%{privlib}/filetest.pm
%{_mandir}/man3/filetest.3*
%if %{dual_life} || %{rebuild_from_scratch} %if %{dual_life} || %{rebuild_from_scratch}
%files Filter %files Filter
%dir %{archlib}/auto/Filter %dir %{archlib}/auto/Filter
@ -7319,6 +7347,7 @@ popd
- Move UNIVERSAL to perl-libs - Move UNIVERSAL to perl-libs
- Subpackage DynaLoader - Subpackage DynaLoader
- Subpackage feature - Subpackage feature
- Subpackage filetest
* 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