minor clean-up of the spec file

epel9
Emmanuel Seyman 5 years ago
parent 6041e30dcc
commit 4f14c9d984

@ -0,0 +1,4 @@
from Config import *
addFilter("spelling-error .* untainting");
addFilter("spelling-error .* undef");
addFilter("spelling-error .* username");

@ -1,28 +1,28 @@
Name: perl-Data-Validate-Domain
Version: 0.14
Release: 11%{?dist}
Summary: Domain validation methods Perl module
License: GPL+ or Artistic
URL: https://metacpan.org/release/Data-Validate-Domain
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Net::Domain::TLD) >= 1.74
BuildRequires: perl(strict)
BuildRequires: perl(Test2::Plugin::UTF8)
BuildRequires: perl(Test::More) >= 1.302015
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Name: perl-Data-Validate-Domain
Version: 0.14
Release: 12%{?dist}
Summary: Domain validation methods Perl module
License: GPL+ or Artistic
URL: https://metacpan.org/release/Data-Validate-Domain
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec)
BuildRequires: perl(Net::Domain::TLD) >= 1.74
BuildRequires: perl(strict)
BuildRequires: perl(Test2::Plugin::UTF8)
BuildRequires: perl(Test::More) >= 1.302015
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
%description
@ -42,18 +42,17 @@ find lib -name "*.pm" -exec chmod -c a-x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -type f -name .packlist -delete
%{make_install}
%{_fixperms} %{buildroot}/*
%check
make test
%{make_build} test
%files
@ -64,6 +63,12 @@ make test
%changelog
* Sun Apr 05 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.14-12
- Replace calls to perl with /usr/bin/perl
- Replace calls to make pure_install with %%{make_install}
- Replace calls to make with %%{make_build}
- Pass NO_PACKLIST=1 NO_PERLLOCAL=1 to Makefile.PL
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save