diff --git a/perl-Crypt-DH.rpmlintrc b/perl-Crypt-DH.rpmlintrc new file mode 100644 index 0000000..c92d30a --- /dev/null +++ b/perl-Crypt-DH.rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US Diffie -> ") diff --git a/perl-Crypt-DH.spec b/perl-Crypt-DH.spec index 13cb0e4..c71199e 100644 --- a/perl-Crypt-DH.spec +++ b/perl-Crypt-DH.spec @@ -1,17 +1,17 @@ Summary: Perl module implementing the Diffie-Hellman key exchange system Name: perl-Crypt-DH Version: 0.07 -Release: 21%{?dist} +Release: 22%{?dist} License: GPL+ or Artistic Url: https://metacpan.org/release/Crypt-DH -Source0: https://cpan.metacpan.org/authors/id/M/MI/MITHALDU/Crypt-DH-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Crypt/Crypt-DH-%{version}.tar.gz Patch0: Crypt-DH-0.07-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # =============== Module Build ================== BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(base) BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) @@ -52,10 +52,9 @@ perl Makefile.PL INSTALLDIRS=vendor --skipdeps 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 @@ -63,9 +62,16 @@ make test %files %doc Changes README ToDo %{perl_vendorlib}/Crypt/ -%{_mandir}/man3/Crypt::DH.3pm* +%{_mandir}/man3/Crypt::DH.3* %changelog +* Thu Oct 17 2019 Paul Howarth - 0.07-22 +- Spec tidy-up + - Use author-independent source URL + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + * Fri Jul 26 2019 Fedora Release Engineering - 0.07-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild