]> git.pld-linux.org Git - packages/perl-Statistics-MaxEntropy.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:09:39 +0000 (15:09 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:09:39 +0000 (15:09 +0200)
perl-Statistics-MaxEntropy.spec

index e48af876cfbde2025c4ed6b1c2cf6cc92525ec69..d3d1811043cec66bc1f69af011202af5c49545a6 100644 (file)
@@ -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)
This page took 0.11324 seconds and 4 git commands to generate.