diff --git a/perl-Test-Class.rpmlintrc b/perl-Test-Class.rpmlintrc new file mode 100644 index 0000000..0f9eea7 --- /dev/null +++ b/perl-Test-Class.rpmlintrc @@ -0,0 +1,4 @@ +from Config import * + +addFilter("spelling-error Summary\(en_US\) xUnit -> ") +addFilter("spelling-error %description -l en_US xUnit -> ") diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec index 9ab5f48..a082c86 100644 --- a/perl-Test-Class.spec +++ b/perl-Test-Class.spec @@ -1,15 +1,18 @@ Name: perl-Test-Class Version: 0.50 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Easily create test classes in an xUnit/JUnit style License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Class -Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Class-%{version}.tar.gz Patch0: perl-Test-Class-UTF8.patch BuildArch: noarch # Build: -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Attribute::Handlers) >= 0.77 @@ -64,10 +67,9 @@ 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 make test @@ -80,6 +82,12 @@ make test %{_mandir}/man3/Test::Class::MethodInfo.3* %changelog +* Sat Sep 7 2019 Paul Howarth - 0.50-15 +- Use author-independent source URL +- Specify all build dependencies +- Simplify find command using -delete +- Drop redundant buildroot cleaning in %%install section + * Fri Jul 26 2019 Fedora Release Engineering - 0.50-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild