[packages/perl-Email-Address-List] - pl, updated URLs and BR
qboosh
qboosh at pld-linux.org
Mon Jun 15 19:34:35 CEST 2026
commit e8355cd8c33da87a0c7f5e80347c02e1587c367e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jun 15 19:34:53 2026 +0200
- pl, updated URLs and BR
perl-Email-Address-List.spec | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/perl-Email-Address-List.spec b/perl-Email-Address-List.spec
index 68338e4..c7e4b66 100644
--- a/perl-Email-Address-List.spec
+++ b/perl-Email-Address-List.spec
@@ -1,21 +1,28 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Email
%define pnam Address-List
-Summary: Email::Address-List - RFC close address list parsing
+Summary: Email::Address::List - RFC close address list parsing
+Summary(pl.UTF-8): Email::Address::List - analiza listy adresów bliska RFC
Name: perl-Email-Address-List
Version: 0.07
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: https://www.cpan.org/modules/by-module/Email/BPS/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: fcf340d09d997fa07fab4b2bf63951b8
-URL: http://search.cpan.org/dist/Email-Address-List/
+URL: https://metacpan.org/dist/Email-Address-List
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.59
BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl-JSON
+BuildRequires: perl-Test-Simple
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,6 +30,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Parser for From, To, Cc, Bcc, Reply-To, Sender and previous prefixed
with Resent- (eg Resent-From) headers.
+%description -l pl.UTF-8:
+Parser nagłówków From, To, Cc, Bcc, Reply-To, Sender oraz
+wcześniejszych, poprzedzonych przedrostkiem Resent- (np. Resent-From).
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -32,7 +43,9 @@ with Resent- (eg Resent-From) headers.
%{__make}
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -45,7 +58,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
+%doc Changes README
%dir %{perl_vendorlib}/Email/Address
%{perl_vendorlib}/Email/Address/List.pm
%{_mandir}/man3/Email::Address::List.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Email-Address-List.git/commitdiff/e8355cd8c33da87a0c7f5e80347c02e1587c367e
More information about the pld-cvs-commit
mailing list