a76569e
# This module usually ships with version numbers having two digits after the decimal point
708b076
%global cpanversion 1.443
7c3cdcc
%global rpmversion 1.44.3
a76569e
2a9f629
Summary:	Test file attributes through Test::Builder
0728765
Name:		perl-Test-File
a76569e
Version:	%{rpmversion}
c49be2c
Release:	12%{?dist}
0728765
License:	GPL+ or Artistic
9b85a66
URL:		https://metacpan.org/release/Test-File
9b85a66
Source0:	https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-%{cpanversion}.tar.gz
0728765
BuildArch:	noarch
edc33e8
# Module Build
0f068ca
BuildRequires:	coreutils
0f068ca
BuildRequires:	make
157e23f
BuildRequires:	perl-interpreter
9a00c37
BuildRequires:	perl-generators
a76569e
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
edc33e8
BuildRequires:	perl(ExtUtils::Manifest) >= 1.21
edc33e8
# Module Runtime
2a9f629
BuildRequires:	perl(base)
2a9f629
BuildRequires:	perl(Exporter)
2a9f629
BuildRequires:	perl(File::Spec)
f93bf92
BuildRequires:	perl(strict)
7c3cdcc
BuildRequires:	perl(Test::Builder)
edc33e8
BuildRequires:	perl(vars)
edc33e8
BuildRequires:	perl(warnings)
edc33e8
# Test Suite
edc33e8
BuildRequires:	perl(Cwd)
edc33e8
BuildRequires:	perl(File::Spec::Functions)
7c3cdcc
BuildRequires:	perl(Test::Builder) >= 1.001006
edc33e8
BuildRequires:	perl(Test::Builder::Tester)
f93bf92
BuildRequires:	perl(Test::More) >= 0.95
edc33e8
BuildRequires:	perl(Test::utf8)
edc33e8
BuildRequires:	perl(utf8)
edc33e8
# Optional Tests
2a9f629
BuildRequires:	perl(Test::Pod) >= 1.00
0728765
BuildRequires:	perl(Test::Pod::Coverage)
edc33e8
# Runtime
2a9f629
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
8f05510
8f05510
%description
0728765
This module provides a collection of test utilities for file attributes.
8f05510
2a9f629
Some file attributes depend on the owner of the process testing the file
2a9f629
in the same way the file test operators do.
2a9f629
8f05510
%prep
a76569e
%setup -q -n Test-File-%{cpanversion}
8f05510
8f05510
%build
a76569e
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
8f05510
make %{?_smp_mflags}
8f05510
8f05510
%install
a76569e
make install DESTDIR=%{buildroot}
a76569e
%{_fixperms} -c %{buildroot}
8f05510
8f05510
%check
8f05510
make test
8f05510
8f05510
%files
edc33e8
%license LICENSE
0f068ca
%doc Changes README.pod
8f05510
%{perl_vendorlib}/Test/
2a9f629
%{_mandir}/man3/Test::File.3*
8f05510
8f05510
%changelog
c49be2c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-12
c49be2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c49be2c
9dca347
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.44.3-11
9dca347
- Perl 5.32 rebuild
9dca347
4baf125
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-10
4baf125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4baf125
fddaaab
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-9
fddaaab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fddaaab
e782909
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.44.3-8
e782909
- Perl 5.30 rebuild
e782909
adec4e9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-7
adec4e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
adec4e9
9bdf01a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-6
9bdf01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9bdf01a
cd88db3
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.44.3-5
cd88db3
- Perl 5.28 rebuild
cd88db3
16fdf50
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-4
16fdf50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
16fdf50
5871313
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.3-3
5871313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5871313
726cd9d
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.44.3-2
726cd9d
- Perl 5.26 rebuild
726cd9d
7c3cdcc
* Mon Apr 17 2017 Paul Howarth <paul@city-fan.org> - 1.44.3-1
7c3cdcc
- Update to 1.443
7c3cdcc
  - Found another relative path require issue:
7c3cdcc
    http://blogs.perl.org/users/ryan_voots/2017/04/trials-and-troubles-with-changing-inc.html
7c3cdcc
  - This is another attempt at avoiding failures from the v5.26 removal of . from @INC
7c3cdcc
- Drop redundant Group: tag
7c3cdcc
a3aee59
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.44.2-2
a3aee59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a3aee59
a76569e
* Fri Oct 14 2016 Paul Howarth <paul@city-fan.org> - 1.44.2-1
a76569e
- Update to 1.442
a76569e
  - Fix for missing . in @INC; this relates to CVE-2016-1238
a76569e
    (https://github.com/briandfoy/test-file/issues/14)
a76569e
- Split rpm and upstream versioning
a76569e
- Use features from recent EUMM to simplify %%install section
a76569e
cb54a26
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-3
cb54a26
- Perl 5.24 rebuild
cb54a26
4d45498
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-2
4d45498
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d45498
0f068ca
* Mon Jul  6 2015 Paul Howarth <paul@city-fan.org> - 1.44-1
0f068ca
- Update to 1.44
0f068ca
  - Fix problem with META* specifying requirements (CPAN RT#105210)
0f068ca
  - Don't install README.pod
0f068ca
  - check file_mode_has tests for Windows
0f068ca
  - Fix file_has_* tests to work on Windows (GH#13)
0f068ca
aab3ea3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-3
aab3ea3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aab3ea3
5ea187c
* Fri Jun 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.41-2
5ea187c
- Perl 5.22 rebuild
5ea187c
edc33e8
* Wed Sep 24 2014 Paul Howarth <paul@city-fan.org> - 1.41-1
edc33e8
- Update to 1.41
edc33e8
  - Uncomment accidentally commented symlink_target_is_absolute_ok
edc33e8
  - Add mtime test functions (GH#8)
edc33e8
  - Allow tests to run in parallel (CPAN RT#89908, CPAN RT#91862)
edc33e8
  - Fix up tests for UTF-8 checks
edc33e8
- This release by BDFOY → update source URL
edc33e8
- Classify buildreqs by usage
edc33e8
- Use %%license
edc33e8
c3aec12
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-3
c3aec12
- Perl 5.20 rebuild
c3aec12
2abced8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36-2
2abced8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2abced8
82bf8c6
* Thu Jan  2 2014 Paul Howarth <paul@city-fan.org> - 1.36-1
82bf8c6
- Update to 1.36
82bf8c6
  - Fix bad line counts on latest dev version of Perl (CPAN RT#89849)
82bf8c6
f93bf92
* Thu Oct 10 2013 Paul Howarth <paul@city-fan.org> - 1.35-1
f93bf92
- Update to 1.35
f93bf92
  - Don't distribute MYMETA.* (CPAN RT#89175)
f93bf92
  - Add dir_exists_ok and dir_contains_ok
f93bf92
  - Add file_contains_* functions
f93bf92
- Specify all dependencies
f93bf92
0025639
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.34-4
0025639
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0025639
0666e06
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.34-3
0666e06
- Perl 5.18 rebuild
0666e06
40265f1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.34-2
40265f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
40265f1
2a9f629
* Tue Jul 24 2012 Paul Howarth <paul@city-fan.org> - 1.34-1
2a9f629
- Update to 1.34
2a9f629
  - Added dir_exists_ok and dir_contains_ok
2a9f629
  - Added file_contains_like and file_contains_unlike
2a9f629
  - Fixed a few grammatical errors in POD
2a9f629
  - Added some SKIP blocks to avoid test failures when running as root
2a9f629
  - Fixed qr//mx patterns to work with older Perls (CPAN RT#74365)
2a9f629
  - Fixed incorrect spelling of "privileges" in SKIP blocks (CPAN RT#74483)
2a9f629
  - Skip testing of symlinks on Windows (CPAN RT#57682)
2a9f629
  - Fixed automatically generated test name for owner_isnt (CPAN RT#37676)
2a9f629
  - Fixed problem in MANIFEST file (CPAN RT#37676)
2a9f629
  - Fixed problem in links.t (CPAN RT#76853)
2a9f629
- This release by BAREFOOT -> update source URL
2a9f629
- BR: perl(base), perl(Exporter) and perl(File::Spec)
2a9f629
- Bump perl(Test::Manifest) version requirement to 1.21
2a9f629
- Bump perl(Test::More) version requirement to 0.88
2a9f629
- Drop perl(ExtUtils::MakeMaker) version requirement
2a9f629
- BR: at least version 1.00 of perl(Test::Pod)
2a9f629
- Drop buildreq perl(Test::Prereq) since t/prereq.t isn't in the test_manifest
2a9f629
- Package LICENSE file
2a9f629
- Expand %%summary and %%description
2a9f629
- Drop %%defattr, redundant since rpm 4.4
2a9f629
- Don't need to remove empty directories from the buildroot
2a9f629
- Don't use macros for commands
2a9f629
- Make %%files list more explicit
2a9f629
- Use %%{_fixperms} macro rather than our own chmod incantation
2a9f629
- Use DESTDIR rather than PERL_INSTALL_ROOT
2a9f629
7af3851
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-7
7af3851
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7af3851
c220bbf
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.29-6
c220bbf
- Perl 5.16 rebuild
c220bbf
abde279
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-5
abde279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
abde279
1f6ec7c
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.29-4
1f6ec7c
- Perl mass rebuild
1f6ec7c
98dc3d9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-3
98dc3d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
98dc3d9
b10afc7
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-2
2a9f629
- Rebuild to fix problems with vendorarch/lib (#661697)
b10afc7
0728765
* Tue Jun 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.29-1
0728765
- update to 1.29
0728765
9d53ab1
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.25-5
9d53ab1
- Mass rebuild with perl-5.12.0
9d53ab1
d65aeec
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.25-4
d65aeec
- rebuild against perl 5.10.1
d65aeec
8902faa
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
8902faa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8902faa
7b7d2ca
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
7b7d2ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7b7d2ca
0734cf7
* Tue Jan 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.25-1
0734cf7
- Upstream update.
0734cf7
6e78b61
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-3
6e78b61
- helps if you upload new source
6e78b61
f4a2ec4
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-2
f4a2ec4
- rebuild for new perl
f4a2ec4
68a5a6f
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-1
68a5a6f
- bump to 1.22
68a5a6f
- fix license tag
68a5a6f
8f05510
* Sat Sep 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
8f05510
- Update to 1.16.
8f05510
8f05510
* Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.15-1
8f05510
- Update to 1.15.
8f05510
8f05510
* Wed May 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
8f05510
- First build.