ff37d25
Name:		perl-Test-EOL
a899c88
Version:	2.00
a899c88
Release:	1%{?dist}
ff37d25
Summary:	Check the correct line endings in your project
ff37d25
License:	GPL+ or Artistic
ff37d25
URL:		http://search.cpan.org/dist/Test-EOL/
a899c88
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-EOL-%{version}.tar.gz
ff37d25
BuildArch:	noarch
60e72b3
# Module Build
60e72b3
BuildRequires:	coreutils
60e72b3
BuildRequires:	findutils
60e72b3
BuildRequires:	make
60e72b3
BuildRequires:	perl
643fc9e
BuildRequires:	perl-generators
ff37d25
BuildRequires:	perl(ExtUtils::MakeMaker)
60e72b3
# Module Runtime
60e72b3
BuildRequires:	perl(Cwd)
60e72b3
BuildRequires:	perl(File::Find)
f0823e7
BuildRequires:	perl(File::Spec)
60e72b3
BuildRequires:	perl(strict)
f0823e7
BuildRequires:	perl(Test::Builder)
60e72b3
BuildRequires:	perl(warnings)
60e72b3
# Test Suite
60e72b3
BuildRequires:	perl(Config)
60e72b3
BuildRequires:	perl(File::Temp)
ff37d25
BuildRequires:	perl(Test::More)
60e72b3
# Optional Tests
a899c88
%if "%{?rhel}" != "6"
a899c88
BuildRequires:	perl(CPAN::Meta) >= 2.120900
60e72b3
%endif
a899c88
# Dependencies
c446e40
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
ff37d25
ff37d25
%description
ff37d25
This module scans your project/distribution for any perl files (scripts,
ff37d25
modules, etc.) with Windows line endings. It can also check for trailing
ff37d25
whitespace.
ff37d25
ff37d25
%prep
ff37d25
%setup -q -n Test-EOL-%{version}
ff37d25
ff37d25
%build
ff37d25
perl Makefile.PL INSTALLDIRS=vendor
ff37d25
make %{?_smp_mflags}
ff37d25
ff37d25
%install
ff37d25
make pure_install DESTDIR=%{buildroot}
a899c88
find %{buildroot} -type f -name .packlist -delete
a899c88
%{_fixperms} -c %{buildroot}
ff37d25
ff37d25
%check
60e72b3
make test
3bed51c
ff37d25
%files
60e72b3
%if 0%{?_licensedir:1}
a899c88
%license LICENCE
60e72b3
%else
a899c88
%doc LICENCE
60e72b3
%endif
a899c88
%doc Changes CONTRIBUTING README
ff37d25
%{perl_vendorlib}/Test/
60e72b3
%{_mandir}/man3/Test::EOL.3*
ff37d25
ff37d25
%changelog
a899c88
* Thu May  4 2017 Paul Howarth <paul@city-fan.org> - 2.00-1
a899c88
- Update to 2.00
a899c88
  - Update documentation for starting point change in version 1.5
a899c88
  - Check *.pod files as well as *.pm, *.pl and *.t (CPAN RT#82032)
a899c88
  - Repository has moved to GitHub
a899c88
- This release by ETHER → update source URL
a899c88
- Simplify find command using -delete
a899c88
- Drop EL-5 support
a899c88
  - Drop BuildRoot: and Group: tags
a899c88
  - Drop explicit buildroot cleaning in %%install section
a899c88
  - Drop explicit %%clean section
a899c88
8d8a587
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
8d8a587
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8d8a587
e2751b7
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.6-3
e2751b7
- Perl 5.24 rebuild
e2751b7
220ab1a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
220ab1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
220ab1a
60e72b3
* Fri Jul 31 2015 Paul Howarth <paul@city-fan.org> - 1.6-1
60e72b3
- Update to 1.6
60e72b3
  - Add 'no_test' import option to allow more composability
60e72b3
- This release by FREW → update source URL
60e72b3
- Use %%license where possible
60e72b3
- Classify buildreqs by usage
60e72b3
c16e754
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
c16e754
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c16e754
c340d46
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-7
c340d46
- Perl 5.22 rebuild
c340d46
f73d4fb
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-6
f73d4fb
- Perl 5.20 rebuild
f73d4fb
8f4762a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
8f4762a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8f4762a
f82db59
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
f82db59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f82db59
1429aa6
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 1.5-3
1429aa6
- Perl 5.18 rebuild
1429aa6
757ce67
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
757ce67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
757ce67
56d947c
* Sun Sep  9 2012 Paul Howarth <paul@city-fan.org> - 1.5-1
56d947c
- Update to 1.5
56d947c
  - Properly fix Win32 (CPAN RT#76037)
56d947c
  - Change default to searching for trailing whitespace from the current
56d947c
    directory downwards (as tests are run from the top of a dist normally),
56d947c
    rather than one directory above the test file, as then we don't work as
56d947c
    expected if tests are in t/author or similar
56d947c
- BR: perl(Pod::Coverage::TrustPod) even when bootstrapping
56d947c
3bed51c
* Tue Aug  7 2012 Paul Howarth <paul@city-fan.org> - 1.3-6
3bed51c
- Reinstate EPEL-5 compatibility
3bed51c
- Drop redundant patch for building with ExtUtils::MakeMaker < 6.30
3bed51c
8b4fb2b
* Tue Aug  7 2012 Jitka Plesnikova <jplesnik@redhat.com>
8b4fb2b
- Update BR and clean up spec for modern rpmbuild
8b4fb2b
5928077
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
5928077
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5928077
c79a3eb
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.3-3
c79a3eb
- Perl 5.16 re-rebuild of bootstrapped packages
c79a3eb
03fedb8
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1.3-2
03fedb8
- Perl 5.16 rebuild
03fedb8
bd55272
* Sun Jun 17 2012 Paul Howarth <paul@city-fan.org> - 1.3-1
bd55272
- Update to 1.3
bd55272
  - Fix to ignore inc/ directory used by Module::Install
bd55272
- Drop hack to remove tabs from bundled Module::Install
bd55272
- Bump version requirement for perl(Test::NoTabs) to 1.2 to avoid failing
bd55272
  release tests due to tabs in bundled Module::Install
bd55272
bd55272
* Fri Jun 15 2012 Paul Howarth <paul@city-fan.org> - 1.2-1
b6f7dd1
- Update to 1.2
b6f7dd1
  - Fix bad regex matching directories containing 'svn', not just '.svn'
b6f7dd1
    directories (CPAN RT#75968)
b6f7dd1
- BR: perl(Cwd)
b6f7dd1
- Drop non-dual-lived buildreqs perl(File::Find) and perl(FindBin)
b6f7dd1
- This release by BOBTFISH -> update source URL
b6f7dd1
- Remove tabs from bundled Module::Install that break release tests
b6f7dd1
- Don't need to remove empty directories from the buildroot
b6f7dd1
- Drop %%defattr, redundant since rpm 4.4
b6f7dd1
c8b7ae8
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.1-2
c8b7ae8
- Perl 5.16 rebuild
c8b7ae8
bd55272
* Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 1.1-1
f0823e7
- Update to 1.1
f0823e7
  - Fix test fails on < 5.8 perls
f0823e7
  - Fix t/13-latin1.t failures on Win32 and under TB1.5
f0823e7
- Add buildreqs for required core modules, which might be dual-lived
f0823e7
bd55272
* Thu Jan  5 2012 Paul Howarth <paul@city-fan.org> - 1.0-1
022c49d
- Update to 1.0
022c49d
  - Fix misleading test failure diagnostics when only issue is trailing
022c49d
    whitespace
022c49d
  - No longer blindly assume utf8 on input files (CPAN RT#59877)
022c49d
  - Properly document testing options
022c49d
- This release by RIBASUSHI -> update source URL
022c49d
- Drop upstreamed patch for CPAN RT#59877
022c49d
- Update patch for building with old ExtUtils::MakeMaker versions
022c49d
c446e40
* Thu Jun 30 2011 Paul Howarth <paul@city-fan.org> - 0.9-5
f8de5a2
- Restore EPEL-4 compatibility
5948a41
- perl(Pod::Coverage::TrustPod) is available everywhere now
f405d34
- %%{?perl_default_filter} isn't needed for this tiny package
c446e40
- Nobody else likes macros for commands
c446e40
3e86e7e
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9-4
3e86e7e
- Perl mass rebuild
88b33ed
- Add macro perl_bootstrap
3e86e7e
6dda303
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
6dda303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6dda303
bd55272
* Mon Oct 18 2010 Paul Howarth <paul@city-fan.org> - 0.9-2
dbbe8bc
- Don't assume tested files are UTF-8 encoded (CPAN RT#59877)
dbbe8bc
bd55272
* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> - 0.9-1
ff37d25
- Update to 0.9 (fix warnings on very old perls - CPAN RT#58442)
ff37d25
- Use DESTDIR instead of PERL_INSTALL_ROOT
ff37d25
- Add %%{?perl_default_filter}
ff37d25
bd55272
* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> - 0.8-1
ff37d25
- Initial RPM version