Christopher Meng 622de5d
Name:           perl-Test-TrailingSpace
dc0f7f2
Version:        0.0601
1e03e43
Release:        5%{?dist}
Christopher Meng 622de5d
Summary:        Test for trailing space in source files
Christopher Meng 622de5d
License:        MIT
7bca5ae
URL:            https://metacpan.org/release/Test-TrailingSpace
a317cd2
Source0:        https://cpan.metacpan.org/modules/by-module/Test/Test-TrailingSpace-%{version}.tar.gz
Christopher Meng 622de5d
BuildArch:      noarch
1171db7
# Build:
1171db7
BuildRequires:  coreutils
a317cd2
BuildRequires:  findutils
a317cd2
BuildRequires:  make
1171db7
BuildRequires:  perl-generators
a317cd2
BuildRequires:  perl-interpreter
1243103
BuildRequires:  perl(:VERSION) >= 5.14.0
a317cd2
BuildRequires:  perl(ExtUtils::MakeMaker)
4c67142
# Run-time:
Christopher Meng 622de5d
BuildRequires:  perl(autodie)
4c67142
BuildRequires:  perl(File::Find::Object::Rule) >= 0.0301
1171db7
BuildRequires:  perl(strict)
a317cd2
BuildRequires:  perl(Test::More) >= 0.88
1171db7
BuildRequires:  perl(warnings)
4c67142
# Tests:
24b0ce3
BuildRequires:  perl(blib)
Christopher Meng 622de5d
BuildRequires:  perl(File::Path)
Christopher Meng 622de5d
BuildRequires:  perl(File::Spec)
dc0f7f2
BuildRequires:  perl(File::TreeCreate)
a317cd2
BuildRequires:  perl(IO::Handle)
a317cd2
BuildRequires:  perl(IPC::Open3)
Christopher Meng 622de5d
BuildRequires:  perl(Test::Builder::Tester)
1171db7
# Dependencies:
Christopher Meng 622de5d
Christopher Meng 622de5d
%description
1171db7
This module is used to test for presence of trailing space.
Christopher Meng 622de5d
Christopher Meng 622de5d
%prep
1171db7
%setup -qn Test-TrailingSpace-%{version}
Christopher Meng 622de5d
Christopher Meng 622de5d
%build
a317cd2
perl Makefile.PL INSTALLDIRS=vendor
a317cd2
make %{?_smp_mflags}
Christopher Meng 622de5d
Christopher Meng 622de5d
%install
a317cd2
make pure_install DESTDIR=%{buildroot}
a317cd2
find %{buildroot} -type f -name .packlist -delete
8eab22c
%{_fixperms} -c %{buildroot}
Christopher Meng 622de5d
Christopher Meng 622de5d
%check
a317cd2
make test
Christopher Meng 622de5d
Christopher Meng 622de5d
%files
4c67142
%license LICENSE
4c67142
%doc Changes README
1171db7
%{perl_vendorlib}/Test/
1171db7
%{_mandir}/man3/Test::TrailingSpace.3*
Christopher Meng 622de5d
Christopher Meng 622de5d
%changelog
1e03e43
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0601-5
1e03e43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1e03e43
dab5af1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0601-4
dab5af1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
dab5af1
a3194c9
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.0601-3
a3194c9
- Perl 5.36 rebuild
a3194c9
096ea9c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0601-2
096ea9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
096ea9c
dc0f7f2
* Fri Aug 27 2021 Paul Howarth <paul@city-fan.org> - 0.0601-1
dc0f7f2
- Update to 0.0601
dc0f7f2
  - Split File::TreeCreate off to its own distribution
dc0f7f2
821ab32
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0600-6
821ab32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
821ab32
faaea5e
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.0600-5
faaea5e
- Perl 5.34 rebuild
faaea5e
cd2716c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0600-4
cd2716c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cd2716c
608a019
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0600-3
608a019
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
608a019
12bf49d
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.0600-2
12bf49d
- Perl 5.32 rebuild
12bf49d
15a13c8
* Sun Jun  7 2020 Paul Howarth <paul@city-fan.org> - 0.0600-1
15a13c8
- Update to 0.0600
15a13c8
  - Avoid excessive callback calls by having the _path_cb take the $rule
15a13c8
    object (optimization)
15a13c8
e0448ae
* Sun Jun  7 2020 Paul Howarth <paul@city-fan.org> - 0.0501-1
e0448ae
- Update to 0.0501
e0448ae
  - Try to fix t/dogfood.t tests failures on MS Windows
e0448ae
8334656
* Fri Jun  5 2020 Paul Howarth <paul@city-fan.org> - 0.0500-1
8334656
- Update to 0.0500
8334656
  - Convert the file processing to use a code generated callback (a speed
8334656
    optimization)
8334656
1243103
* Wed May 20 2020 Paul Howarth <paul@city-fan.org> - 0.0400-1
1243103
- Update to 0.0400
1243103
  - Add the 'find_cr' and 'find_tabs' options
1243103
- Module now requires Perl 5.14
1243103
24b0ce3
* Tue Mar 10 2020 Paul Howarth <paul@city-fan.org> - 0.0302-3
24b0ce3
- BR: perl(blib) for t/00-compile.t
24b0ce3
91f8653
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0302-2
91f8653
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
91f8653
a317cd2
* Mon Aug 26 2019 Paul Howarth <paul@city-fan.org> - 0.0302-1
a317cd2
- Update to 0.0302
a317cd2
  - Now at https://github.com/shlomif/perl-test-trailingspace
a317cd2
  - Convert to https://metacpan.org/pod/Dist::Zilla::PluginBundle::SHLOMIF
a317cd2
- Switch to ExtUtils::MakeMaker flow
a317cd2
93c6469
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-10
93c6469
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
93c6469
09c3589
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.0301-9
09c3589
- Perl 5.30 rebuild
09c3589
9de5bd3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-8
9de5bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9de5bd3
abdc075
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-7
abdc075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
abdc075
4136757
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0301-6
4136757
- Perl 5.28 rebuild
4136757
0c7fbdc
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-5
0c7fbdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0c7fbdc
2ace0c1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-4
2ace0c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2ace0c1
5d882d3
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0301-3
5d882d3
- Perl 5.26 rebuild
5d882d3
d6e33a6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0301-2
d6e33a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d6e33a6
8eab22c
* Wed Nov  2 2016 Paul Howarth <paul@city-fan.org> - 0.0301-1
8eab22c
- Update to 0.0301
8eab22c
  - Skip "sample-data" in t/dogfood.t, which caused problems with parallel
8eab22c
    testing
8eab22c
1171db7
* Thu May 19 2016 Paul Howarth <paul@city-fan.org> - 0.0300-1
1171db7
- Update to 0.0300
1171db7
  - Made abs_path_prune_re affect files as well; this way one can skip files
1171db7
    with offending extensions
1171db7
- BR: perl-generators
1171db7
b76d3f3
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.0205-3
b76d3f3
- Perl 5.24 rebuild
b76d3f3
b49ecaf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0205-2
b49ecaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b49ecaf
4c67142
* Wed Sep 09 2015 Petr Pisar <ppisar@redhat.com> - 0.0205-1
4c67142
- 0.0205 bump
4c67142
35663eb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0204-4
35663eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
35663eb
da495cb
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0204-3
da495cb
- Perl 5.22 rebuild
da495cb
92ccab9
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0204-2
92ccab9
- Perl 5.20 rebuild
92ccab9
53d8dba
* Mon Jun 16 2014 Christopher Meng <rpm@cicku.me> - 0.0204-1
5fac0a3
- Update to 0.0204
5fac0a3
68e993a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0203-3
68e993a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
68e993a
8b07823
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0203-2
8b07823
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8b07823
Christopher Meng 622de5d
* Sun May 26 2013 Christopher Meng <rpm@cicku.me> - 0.0203-1
Christopher Meng 622de5d
- Initial Package.