[packages/perl-Statistics-Shannon] use generic url
glen
glen at pld-linux.org
Wed Nov 26 14:09:54 CET 2014
commit f492cfaf14baeb56acc9b67157e0dcd0d6c4d915
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 26 15:09:51 2014 +0200
use generic url
perl-Statistics-Shannon.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Statistics-Shannon.git/commitdiff/f492cfaf14baeb56acc9b67157e0dcd0d6c4d915
More information about the pld-cvs-commit
mailing list