From 7c82a414d62a8a4c71123671198f1a87350f10b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 26 Nov 2014 15:09:32 +0200 Subject: [PATCH] use generic url --- perl-Statistics-Frequency.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/perl-Statistics-Frequency.spec b/perl-Statistics-Frequency.spec index 81c11aa..8bbcf0b 100644 --- a/perl-Statistics-Frequency.spec +++ b/perl-Statistics-Frequency.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 Frequency +%include /usr/lib/rpm/macros.perl Summary: Statistics::Frequency - simple counting of elements Summary(pl.UTF-8): Statistics::Frequency - proste liczenie elementów Name: perl-Statistics-Frequency @@ -15,16 +15,18 @@ 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: b67d54fb3db4787f170f3700e5362417 +URL: http://search.cpan.org/dist/Statistics-Frequency/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This is a small module for a small but very common task: counting things, -in another words, frequencies. Sure, you can $freq{$elem}++ yourself, -but what if you need to normalize the frequencies, or what if you have -several frequencies you want to combine? Statistics::Frequency to rescue. +This is a small module for a small but very common task: counting +things, in another words, frequencies. Sure, you can $freq{$elem}++ +yourself, but what if you need to normalize the frequencies, or what +if you have several frequencies you want to combine? +Statistics::Frequency to rescue. %description -l pl.UTF-8 Jest to mały moduł do małego, ale bardzo popularnego zadania: -- 2.44.0