forked from pool/perl-Data-Validate-Domain
Accepting request 305880 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/305880 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Validate-Domain?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
65c10d495b
commit
08d8e08188
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:be17fbc945c8ab3faac8870bed99704c023919863e583c56b43e9df05ef7a39a
|
|
||||||
size 7988
|
|
3
Data-Validate-Domain-0.11.tar.gz
Normal file
3
Data-Validate-Domain-0.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f2ae0830f423a46080b185ffc2428c9a37278167a8d19bfdeec26d977b43822c
|
||||||
|
size 26678
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 8 08:14:29 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.11
|
||||||
|
see /usr/share/doc/packages/perl-Data-Validate-Domain/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 04 20:01:32 CET 2011 - pascal.bleser@opensuse.org
|
Wed May 04 20:01:32 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,56 +1,60 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-Data-Validate-Domain
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Data-Validate-Domain
|
Name: perl-Data-Validate-Domain
|
||||||
Version: 0.10
|
Version: 0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Domain validation methods
|
%define cpan_name Data-Validate-Domain
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEELY/Data-Validate-Domain-%{version}.tar.gz
|
Summary: Domain and host name validation
|
||||||
URL: http://search.cpan.org/dist/Data-Validate-Domain
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
Url: http://search.cpan.org/dist/Data-Validate-Domain/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||||
%{perl_requires}
|
Source1: cpanspec.yml
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(Net::Domain::TLD) >= 1.62
|
|
||||||
Requires: perl(Net::Domain::TLD) >= 1.62
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Net::Domain::TLD)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
|
Requires: perl(Net::Domain::TLD)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module collects domain validation routines to make input validation,
|
This module offers a few subroutines for validating domain and host names.
|
||||||
and untainting easier and more readable.
|
|
||||||
All functions return an untainted value if the test passes, and undef if
|
|
||||||
it fails. This means that you should always check for a defined status
|
|
||||||
explicitly. Don't assume the return will be true. (e.g. is_username('0'))
|
|
||||||
The value to test is always the first (and often only) argument.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Data-Validate-Domain-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes LICENSE README.md
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes README
|
|
||||||
%dir %{perl_vendorlib}/Data
|
|
||||||
%dir %{perl_vendorlib}/Data/Validate
|
|
||||||
%{perl_vendorlib}/Data/Validate/Domain.pm
|
|
||||||
%doc %{perl_man3dir}/Data::Validate::Domain.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user