From: Elan Ruusamäe Date: Wed, 26 Nov 2014 13:09:51 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f492cfaf14baeb56acc9b67157e0dcd0d6c4d915;p=packages%2Fperl-Statistics-Shannon.git use generic url --- diff --git a/perl-Statistics-Shannon.spec b/perl-Statistics-Shannon.spec index a9e2350..9de61cd 100644 --- a/perl-Statistics-Shannon.spec +++ b/perl-Statistics-Shannon.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Statistics %define pnam Shannon +%include /usr/lib/rpm/macros.perl Summary: Statistics::Shannon - Shannon index Summary(pl.UTF-8): Statistics::Shannon - wskaźnik Shannona Name: perl-Statistics-Shannon @@ -15,11 +15,12 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: b8f44ee0699a22296726982ef1e70ee5 +URL: http://search.cpan.org/dist/Statistics-Shannon/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-Statistics-Frequency >= 0.03 %endif -BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)