From: Elan Ruusamäe Date: Tue, 25 Nov 2014 08:11:42 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=6bdb1f28e728c3f092a8935f1e8d3665344b8959;p=packages%2Fperl-Array-Lookup.git use generic url --- diff --git a/perl-Array-Lookup.spec b/perl-Array-Lookup.spec index 7fe1409..1714e31 100644 --- a/perl-Array-Lookup.spec +++ b/perl-Array-Lookup.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Array %define pnam Lookup +%include /usr/lib/rpm/macros.perl Summary: Array::Lookup - lookup strings in arrays or hash tables with abbreviation Summary(pl.UTF-8): Array::Lookup - poszukiwanie łańcuchów w tablicach lub hashach z użyciem skrótów Name: perl-Array-Lookup @@ -14,8 +14,9 @@ License: GPL v2+ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 1b6441bcf3b1fd8af12dc9d532bc48f2 -BuildRequires: rpm-perlprov >= 4.1-13 +URL: http://search.cpan.org/dist/Array-Lookup/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-Array-PrintCols %endif