Compare commits

...

No commits in common. 'epel9' and 'i8c-stream-5.24' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
/Test-Portability-Files-[0-9.]*.tar.gz
SOURCES/Test-Portability-Files-0.07.tar.gz

@ -0,0 +1 @@
0edb71cfd80b7c7b6d76c07e7e501cdc32771b33 SOURCES/Test-Portability-Files-0.07.tar.gz

@ -0,0 +1,55 @@
--- Makefile.PL
+++ Makefile.PL
@@ -12,7 +12,7 @@ my %WriteMakefileArgs = (
"ABSTRACT" => "Check file names portability",
"AUTHOR" => "S\303\251bastien Aperghis-Tramoni <sebastien\@aperghis.net>, Alexander Hartmaier <abraxxa\@cpan.org>",
"BUILD_REQUIRES" => {
- "Test::More" => "0.98"
+ "Test::More" => "0.47"
},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
--- t/01basic.t
+++ t/01basic.t
@@ -1,5 +1,5 @@
use strict;
-use Test::More;
+use Test::More tests => 3;
require Test::Portability::Files;
@@ -7,5 +7,3 @@ require Test::Portability::Files;
ok( defined \&Test::Portability::Files::options ); #01
ok( defined \&Test::Portability::Files::run_tests ); #02
ok( defined \&Test::Portability::Files::test_name_portability ); #03
-
-done_testing;
\ No newline at end of file
--- t/release-cpan-changes.t
+++ t/release-cpan-changes.t
@@ -8,8 +8,7 @@ BEGIN {
}
-use Test::More;
+use Test::More;
eval 'use Test::CPAN::Changes';
plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
changes_ok();
-done_testing();
--- t/release-test-version.t
+++ t/release-test-version.t
@@ -8,7 +8,7 @@ BEGIN {
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 2;
# generated by Dist::Zilla::Plugin::Test::Version 0.002004
BEGIN { eval "use Test::Version; 1;" or die $@; }
@@ -27,4 +27,3 @@ push @imports, $params
Test::Version->import(@imports);
version_all_ok;
-done_testing;

@ -1,33 +1,39 @@
# We need to patch the test suite if we have an old version of Test::More
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
Name: perl-Test-Portability-Files
Version: 0.10
Release: 11%{?dist}
Version: 0.07
Release: 2%{?dist}
Summary: Check file names portability
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Portability-Files
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABRAXXA/Test-Portability-Files-%{version}.tar.gz
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Portability-Files/
Source0: http://www.cpan.org/authors/id/A/AB/ABRAXXA/Test-Portability-Files-%{version}.tar.gz
Patch1: Test-Portability-Files-0.06-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(blib)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(utf8)
# Dependencies
BuildRequires: perl(Test::More) >= 0.47
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -39,81 +45,36 @@ a distribution can select which tests to execute.
%prep
%setup -q -n Test-Portability-Files-%{version}
# We need to patch the test suite if we have an old version of Test::More
%if %{old_test_more}
%patch1
%endif
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor
make
%install
%{make_install}
%{_fixperms} -c %{buildroot}
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Portability::Files.3*
%{_mandir}/man3/Test::Portability::Files.3pm*
%changelog
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-10
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-7
- Perl 5.32 rebuild
* Tue Mar 10 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-6
- Add missing BR
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-3
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 07 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
- 0.10 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-3
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 2 2018 Paul Howarth <paul@city-fan.org> - 0.09-1
- Update to 0.09
- Add windows_reserved option to test for Windows reserved filenames
- Add tests, now requires Perl 5.008
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
- Drop workaround for building with Test::More < 0.88
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-3
- Perl 5.26 rebuild
* Thu Apr 18 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.07-2
- Rebuilt for MSVSphere 8.9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +0,0 @@
SHA512 (Test-Portability-Files-0.10.tar.gz) = e83177e7a08d7c922ce4a51304e160824036e14f3ec77b01fa864918b496823e7425fbe8df0e7d406e00d93767aa8a02ab72088e0eceeded16d45707171ecf03
Loading…
Cancel
Save