diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..9798544 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,4 @@ +from Config import * + +# White Space/Whitespace - both are commonly used +addFilter("spelling-error %description -l en_US whitespace -> ") diff --git a/perl-Test-EOL.spec b/perl-Test-EOL.spec index 4731274..95d35fd 100644 --- a/perl-Test-EOL.spec +++ b/perl-Test-EOL.spec @@ -1,12 +1,10 @@ Name: perl-Test-EOL -Version: 1.6 -Release: 4%{?dist} +Version: 2.00 +Release: 1%{?dist} Summary: Check the correct line endings in your project -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-EOL/ -Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Test-EOL-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-EOL-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils @@ -21,24 +19,16 @@ BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(Test::Builder) -BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Config) BuildRequires: perl(File::Temp) -BuildRequires: perl(FindBin) -BuildRequires: perl(IO::Handle) -BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::More) # Optional Tests -%if 0%{?fedora} || 0%{?rhel} > 6 -BuildRequires: perl(Pod::Coverage::TrustPod) -BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Test::NoTabs) -BuildRequires: perl(Test::Pod) >= 1.41 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +%if "%{?rhel}" != "6" +BuildRequires: perl(CPAN::Meta) >= 2.120900 %endif -# Runtime +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -54,32 +44,36 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check -%if 0%{?fedora} || 0%{?rhel} > 6 -make test AUTHOR_TESTING=1 RELEASE_TESTING=1 -%else make test -%endif - -%clean -rm -rf %{buildroot} %files %if 0%{?_licensedir:1} -%license LICENSE +%license LICENCE %else -%doc LICENSE +%doc LICENCE %endif -%doc Changes README +%doc Changes CONTRIBUTING README %{perl_vendorlib}/Test/ %{_mandir}/man3/Test::EOL.3* %changelog +* Thu May 4 2017 Paul Howarth - 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 - 1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index bc40654..dd39d02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1255e6ef49c417845aa70441c4b40c90 Test-EOL-1.6.tar.gz +SHA512 (Test-EOL-2.00.tar.gz) = 9f43b88c05915fe722307a313f9149837058e34c8310393e97418f1393f828c2d2f7c6a7537d9ca8caff1b07a19cb2600904319f753b1a76bca09e654637ede2