forked from pool/perl-Data-Validate-Domain
Accepting request 913802 from devel:languages:perl:autoupdate
- updated to 0.15 see /usr/share/doc/packages/perl-Data-Validate-Domain/Changes 0.15 2021-08-21 - Reject domains with 254 or more characters. Domains are limited to 255 octets, but in practice this means they're actually limited to 253 characters. See https://devblogs.microsoft.com/oldnewthing/20120412-00/?p=7873 for a more detailed explanation of this. Implemented by Felipe Gaspar. Fixes GitHub #5. PR #13. OBS-URL: https://build.opensuse.org/request/show/913802 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Validate-Domain?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4470f253b8d2720a4dd3fa3ae550995417c2269f3be7ff030e01afa04a3a9421
|
||||
size 31962
|
3
Data-Validate-Domain-0.15.tar.gz
Normal file
3
Data-Validate-Domain-0.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c9f79187b0d3c71add1f8f559b80df1599300a6d203e0b161cbe18e176aab36
|
||||
size 35664
|
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 22 03:07:47 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.15
|
||||
see /usr/share/doc/packages/perl-Data-Validate-Domain/Changes
|
||||
|
||||
0.15 2021-08-21
|
||||
- Reject domains with 254 or more characters. Domains are limited to 255
|
||||
octets, but in practice this means they're actually limited to 253
|
||||
characters. See
|
||||
https://devblogs.microsoft.com/oldnewthing/20120412-00/?p=7873 for a
|
||||
more detailed explanation of this. Implemented by Felipe Gaspar. Fixes
|
||||
GitHub #5. PR #13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 24 05:15:04 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Validate-Domain
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,22 +12,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Data-Validate-Domain
|
||||
Version: 0.14
|
||||
Release: 0
|
||||
%define cpan_name Data-Validate-Domain
|
||||
Name: perl-Data-Validate-Domain
|
||||
Version: 0.15
|
||||
Release: 0
|
||||
Summary: Domain and host name validation
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Data-Validate-Domain/
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Net::Domain::TLD) >= 1.74
|
||||
@@ -40,14 +38,15 @@ Requires: perl(Net::Domain::TLD) >= 1.74
|
||||
This module offers a few subroutines for validating domain and host names.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -55,7 +54,7 @@ This module offers a few subroutines for validating domain and host names.
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING.md LICENSE README.md
|
||||
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user