From 4da4a8d4d627c95bd7cdcdb3ff5d0c88256c07ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 26 Nov 2014 15:09:39 +0200 Subject: [PATCH] use generic url --- perl-Statistics-MaxEntropy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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) -- 2.44.0