From: Elan Ruusamäe Date: Wed, 26 Nov 2014 13:09:39 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4da4a8d4d627c95bd7cdcdb3ff5d0c88256c07ff;p=packages%2Fperl-Statistics-MaxEntropy.git use generic url --- diff --git a/perl-Statistics-MaxEntropy.spec b/perl-Statistics-MaxEntropy.spec index e48af87..d3d1811 100644 --- a/perl-Statistics-MaxEntropy.spec +++ b/perl-Statistics-MaxEntropy.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 MaxEntropy +%include /usr/lib/rpm/macros.perl Summary: MaxEntropy - Perl5 module for Maximum Entropy Modeling and Feature Induction Summary(pl.UTF-8): MaxEntropy - moduł do modelowania największej entropii i indukcji cech Name: perl-Statistics-MaxEntropy @@ -15,9 +15,12 @@ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: b1f7972596653b423e5d65fc7e29f2ee Patch0: %{name}-paths.patch +URL: http://search.cpan.org/dist/Statistics-MaxEntropy/ BuildRequires: perl-devel >= 1:5.8.0 -%{?with_tests:BuildRequires: perl-perldoc} BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-perldoc +%endif Requires: perl-perldoc BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)