diff --git a/perl-Algorithm-C3.rpmlintrc b/perl-Algorithm-C3.rpmlintrc new file mode 100644 index 0000000..b0a5556 --- /dev/null +++ b/perl-Algorithm-C3.rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US metamodels -> ") diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index 435e241..8afd7fb 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -1,14 +1,17 @@ Name: perl-Algorithm-C3 Version: 0.10 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Module for merging hierarchies using the C3 algorithm License: GPL+ or Artistic URL: https://metacpan.org/release/Algorithm-C3 -Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-C3-%{version}.tar.gz BuildArch: noarch # Build -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl(Carp) >= 0.01 @@ -33,10 +36,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 @@ -44,9 +46,17 @@ make test %files %doc Changes README t/ %{perl_vendorlib}/Algorithm/ -%{_mandir}/man3/Algorithm::C3.3pm* +%{_mandir}/man3/Algorithm::C3.3* %changelog +* Tue Oct 15 2019 Paul Howarth - 0.10-16 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + * Fri Jul 26 2019 Fedora Release Engineering - 0.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild