8
0

- updated to 0.184

initialize Net::DNS resolver earlier
       (address RT #56828, thanks mschout @ github)
      reject addresses with any octets that are &128
       (address RT #50230, thanks Adriano Ferreira and Graham Barr)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Valid?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2011-04-26 18:24:52 +00:00
committed by Git OBS Bridge
parent 50f8e27bb8
commit aa3f7df1ed
4 changed files with 60 additions and 36 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73184a67b2b82ca8beea907f877d85f1f48f0dbc898cd30d63f54e4f1a115617
size 16192

3
Email-Valid-0.184.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad819386a1199b7b7be462e9be063438b0289e7647dbba4b4b8569f993588f2d
size 17958

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Apr 26 18:11:54 UTC 2011 - coolo@opensuse.org
- updated to 0.184
initialize Net::DNS resolver earlier
(address RT #56828, thanks mschout @ github)
reject addresses with any octets that are &128
(address RT #50230, thanks Adriano Ferreira and Graham Barr)
-------------------------------------------------------------------
Mon Nov 29 18:29:51 UTC 2010 - coolo@novell.com

View File

@@ -1,54 +1,69 @@
%define modname Email-Valid
Name: perl-%{modname}
Version: 0.182
#
# spec file for package perl-Email-Valid (Version 0.184)
#
# Copyright (c) 2010 SUSE LINUX Products 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-Email-Valid
Version: 0.184
Release: 1
License: GPL+ or Artistic
%define cpan_name Email-Valid
Summary: Check validity of Internet email addresses
Requires: perl = %{perl_version} perl-MailTools perl-Net-DNS
BuildRequires: perl perl-macros perl-MailTools perl-Net-DNS
%if %suse_version > 1000
BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage
%endif
License: GPL/Artistic
Url: http://search.cpan.org/dist/Email-Valid/
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Mail::Address)
BuildRequires: perl(Net::DNS)
BuildRequires: perl(Test::More)
Requires: perl(Mail::Address)
Requires: perl(Net::DNS)
Requires: perl(Test::More)
%{perl_requires}
%description
This module determines whether an email address is well-formed, and
optionally, whether a mail host exists for the domain or whether the top level
domain of the email address is valid.
optionally, whether a mail host exists for the domain.
Authors:
--------
Maurice Aubrey <maurice@hevanet.com>
Please note that there is no way to determine whether an address is
deliverable without attempting delivery (for details, see perlfaq 9).
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
# Some test tries to make a network connection...
# make test
#broken test suite %{__make} test
%install
# rm -rf %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%doc README Changes LICENSE
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Email
%dir %{perl_vendorarch}/auto/Email
%{perl_vendorlib}/Email
%{perl_vendorarch}/auto/Email
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog