@ -1,12 +1,10 @@
Name: perl-Test-EOL
Name: perl-Test-EOL
Version: 1.6
Version: 2.00
Release: 4 %{?dist}
Release: 1 %{?dist}
Summary: Check the correct line endings in your project
Summary: Check the correct line endings in your project
Group: Development/Libraries
License: GPL+ or Artistic
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-EOL/
URL: http://search.cpan.org/dist/Test-EOL/
Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Test-EOL-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-EOL-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildArch: noarch
# Module Build
# Module Build
BuildRequires: coreutils
BuildRequires: coreutils
@ -21,24 +19,16 @@ BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec)
BuildRequires: perl(strict)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(warnings)
# Test Suite
# Test Suite
BuildRequires: perl(Config)
BuildRequires: perl(Config)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::More)
# Optional Tests
# Optional Tests
%if 0%{?fedora} || 0%{?rhel} > 6
%if "%{?rhel}" != "6"
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
%endif
%endif
# Runtime
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
%description
@ -54,32 +44,36 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
%check
%if 0%{?fedora} || 0%{?rhel} > 6
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
%else
make test
make test
%endif
%clean
rm -rf %{buildroot}
%files
%files
%if 0%{?_licensedir:1}
%if 0%{?_licensedir:1}
%license LICENS E
%license LICENCE
%else
%else
%doc LICENS E
%doc LICENC E
%endif
%endif
%doc Changes README
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::EOL.3*
%{_mandir}/man3/Test::EOL.3*
%changelog
%changelog
* Thu May 4 2017 Paul Howarth <paul@city-fan.org> - 2.00-1
- Update to 2.00
- Update documentation for starting point change in version 1.5
- Check *.pod files as well as *.pm, *.pl and *.t (CPAN RT#82032)
- Repository has moved to GitHub
- This release by ETHER → update source URL
- Simplify find command using -delete
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild