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

Loading…
Cancel
Save