Project import/perl-Email-Address - Diff ce10790dfd...ad79a69e84

... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -5,4 +5,4 @@ removed_sources:
5 5
  Email-Address-1.905.tar.gz: 5cf7baf4ba5d4ac7cc677096dfdd7f8615406915
6 6
  Email-Address-1.907.tar.gz: 574d1039cc29ba19a600434665c44537a8685e76
7 7
sources:
8
  Email-Address-1.908.tar.gz: 9c0c089e439fa32541a0c5c8f32da71db45490f2
8
  Email-Address-1.909.tar.gz: 18b44bda75a93511824cf942968e4e191c8dbed4
view file @ ad79a69e84
... ... --- a/perl-Email-Address.spec
... ... +++ b/perl-Email-Address.spec
... ... @@ -1,40 +1,52 @@
1
%define upstream_name    Email-Address
2
%define upstream_version 1.908
1
%define	upstream_name Email-Address
2
%define	upstream_version 1.909
3 3
4 4
Name:		perl-%{upstream_name}
5 5
Version:	%perl_convert_version %{upstream_version}
6
Release:	3
6
Release:	1
7 7
Summary:	RFC 2822 Address Parsing and Creation
8 8
License:	GPL+ or Artistic
9 9
Group:		Development/Perl
10 10
Url:		http://search.cpan.org/dist/%{upstream_name}
11 11
Source0:	http://www.cpan.org/modules/by-module/Email/%{upstream_name}-%{upstream_version}.tar.gz
12
13 12
BuildRequires:	perl-devel
13
# For test suite
14
BuildRequires:	perl(Encode)
15
BuildRequires:	perl(Encode::MIME::Header)
16
BuildRequires:	perl(ExtUtils::MakeMaker)
17
BuildRequires:	perl(File::Spec)
18
BuildRequires:	perl(Test::More) >= 0.960.0
19
BuildRequires:	perl(overload)
20
BuildRequires:	perl(strict)
21
BuildRequires:	perl(warnings)
14 22
BuildArch:	noarch
15 23
16
17 24
%description
18
This class implements a complete RFC 2822 parser that locates
19
email addresses in strings and returns a list of "Email::Address"
20
objects found. Alternatley you may construct objects manually.
25
This class implements a complete RFC 2822 parser that locates email addresses
26
in strings and returns a list of "Email::Address" objects found. Alternatley
27
you may construct objects manually.
21 28
The goal of this software is to be correct, and very very fast.
22 29
30
%files
31
%doc Changes README bench META.yml META.json
32
%{perl_vendorlib}/Email
33
%{_mandir}/man3/*
34
35
#-----------------------------------------------------------------------------
36
23 37
%prep
24 38
%setup -q -n %{upstream_name}-%{upstream_version} 
25
perl -pi -e 's|/usr/local/bin/perl|perl|' bench/ea-vs-ma.pl
39
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' bench/ea-vs-ma.pl
40
26 41
27 42
%build
28
perl Makefile.PL INSTALLDIRS=vendor
43
%{__perl} Makefile.PL INSTALLDIRS=vendor
29 44
%make
30 45
46
31 47
%check
32 48
%make test
33 49
50
34 51
%install
35 52
%makeinstall_std
36
37
%files
38
%doc Changes README bench META.yml
39
%{perl_vendorlib}/Email
40
%{_mandir}/man3/*