|
Normunds Neimanis |
fdb3ace |
Name: perl-Data-Validate-Domain
|
|
|
8325cb5 |
Version: 0.14
|
|
|
adbc418 |
Release: 8%{?dist}
|
|
Normunds Neimanis |
fdb3ace |
Summary: Domain validation methods Perl module
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
License: GPL+ or Artistic
|
|
|
acffc7b |
URL: https://metacpan.org/release/Data-Validate-Domain
|
|
|
acffc7b |
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-%{version}.tar.gz
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
BuildArch: noarch
|
|
|
f5ca7db |
BuildRequires: coreutils
|
|
|
f5ca7db |
BuildRequires: findutils
|
|
|
f5ca7db |
BuildRequires: make
|
|
|
0ff1d61 |
BuildRequires: perl-interpreter
|
|
|
996aa9c |
BuildRequires: perl-generators
|
|
|
f5ca7db |
BuildRequires: perl(Exporter)
|
|
Normunds Neimanis |
fdb3ace |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
f5ca7db |
BuildRequires: perl(File::Spec)
|
|
|
8325cb5 |
BuildRequires: perl(Net::Domain::TLD) >= 1.74
|
|
|
f5ca7db |
BuildRequires: perl(strict)
|
|
|
5d165cb |
BuildRequires: perl(Test2::Plugin::UTF8)
|
|
|
8325cb5 |
BuildRequires: perl(Test::More) >= 1.302015
|
|
|
f5ca7db |
BuildRequires: perl(warnings)
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%description
|
|
Normunds Neimanis |
fdb3ace |
This module collects domain validation routines to make input validation, and
|
|
Normunds Neimanis |
fdb3ace |
untainting easier and more readable.
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
All functions return an untainted value if the test passes, and undef if it
|
|
Normunds Neimanis |
fdb3ace |
fails. This means that you should always check for a defined status explicitly.
|
|
Normunds Neimanis |
fdb3ace |
Don't assume the return will be true. (e.g. is_username('0'))
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
The value to test is always the first (and often only) argument.
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%prep
|
|
Normunds Neimanis |
fdb3ace |
%setup -q -n Data-Validate-Domain-%{version}
|
|
Normunds Neimanis |
fdb3ace |
find lib -name "*.pm" -exec chmod -c a-x {} +
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%build
|
|
Normunds Neimanis |
fdb3ace |
perl Makefile.PL INSTALLDIRS=vendor
|
|
Normunds Neimanis |
fdb3ace |
make %{?_smp_mflags}
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%install
|
|
Normunds Neimanis |
fdb3ace |
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
8325cb5 |
find %{buildroot} -type f -name .packlist -delete
|
|
Normunds Neimanis |
fdb3ace |
%{_fixperms} %{buildroot}/*
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%check
|
|
Normunds Neimanis |
fdb3ace |
make test
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%files
|
|
|
f5ca7db |
%license LICENSE
|
|
|
95c643c |
%doc Changes README.md
|
|
Normunds Neimanis |
fdb3ace |
%{perl_vendorlib}/*
|
|
Normunds Neimanis |
fdb3ace |
%{_mandir}/man3/*
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
|
|
Normunds Neimanis |
fdb3ace |
%changelog
|
|
|
adbc418 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-8
|
|
|
adbc418 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
adbc418 |
|
|
|
87d2d1b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-7
|
|
|
87d2d1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
87d2d1b |
|
|
|
15b15c6 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-6
|
|
|
15b15c6 |
- Perl 5.28 rebuild
|
|
|
15b15c6 |
|
|
|
b962239 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-5
|
|
|
b962239 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b962239 |
|
|
|
1a9647d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-4
|
|
|
1a9647d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1a9647d |
|
|
|
f081928 |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-3
|
|
|
f081928 |
- Perl 5.26 rebuild
|
|
|
f081928 |
|
|
|
ca3d502 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
ca3d502 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ca3d502 |
|
|
|
8325cb5 |
* Wed Aug 31 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-1
|
|
|
8325cb5 |
- 0.14 bump
|
|
|
8325cb5 |
|
|
|
5d165cb |
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-1
|
|
|
5d165cb |
- 0.12 bump
|
|
|
5d165cb |
|
|
|
d7dd525 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-3
|
|
|
d7dd525 |
- Perl 5.24 rebuild
|
|
|
d7dd525 |
|
|
|
fb5537b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
|
|
fb5537b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fb5537b |
|
|
|
f5ca7db |
* Mon Aug 31 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-1
|
|
|
f5ca7db |
- 0.11 bump
|
|
|
f5ca7db |
|
|
|
8099732 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-7
|
|
|
8099732 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8099732 |
|
|
|
f77ee6e |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-6
|
|
|
f77ee6e |
- Perl 5.22 rebuild
|
|
|
f77ee6e |
|
|
|
4e3779d |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-5
|
|
|
4e3779d |
- Perl 5.20 rebuild
|
|
|
4e3779d |
|
|
|
f558349 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
|
|
|
f558349 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f558349 |
|
|
|
50894c1 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
|
|
|
50894c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
50894c1 |
|
|
|
3a1f967 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.10-2
|
|
|
3a1f967 |
- Perl 5.18 rebuild
|
|
|
3a1f967 |
|
|
Normunds Neimanis |
fdb3ace |
* Tue Jan 22 2013 Normunds Neimanis <fedorapkg at rule.lv> 0.10-1
|
|
Normunds Neimanis |
fdb3ace |
- Initial package for Fedora
|