From: Elan Ruusamäe Date: Tue, 25 Nov 2014 08:09:57 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=c93e83afc083e140e1f0c9776c7d4852f69551c4;p=packages%2Fperl-Algorithm-NaiveBayes.git use generic url --- diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec index 356ff0d..1bbbbca 100644 --- a/perl-Algorithm-NaiveBayes.spec +++ b/perl-Algorithm-NaiveBayes.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # don't perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Algorithm %define pnam NaiveBayes +%include /usr/lib/rpm/macros.perl Summary: Algorithm::NaiveBayes - Bayesian prediction of categories Summary(pl.UTF-8): Algorithm::NaiveBayes - bayesowskie przewidywanie kategorii Name: perl-Algorithm-NaiveBayes @@ -15,6 +15,7 @@ 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: bd461c9ea2f140a75d5364cc98c2ef09 +URL: http://search.cpan.org/dist/Algorithm-NaiveBayes/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch