[packages/perl-Math-Prime-XS] use generic url
glen
glen at pld-linux.org
Tue Nov 25 20:56:33 CET 2014
commit b058f967a9e05d5e5290ebcde5ae94b766ae4014
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 21:56:25 2014 +0200
use generic url
perl-Math-Prime-XS.spec | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/perl-Math-Prime-XS.spec b/perl-Math-Prime-XS.spec
index db5267e..3085211 100644
--- a/perl-Math-Prime-XS.spec
+++ b/perl-Math-Prime-XS.spec
@@ -2,12 +2,11 @@
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Math
%define pnam Prime-XS
+%include /usr/lib/rpm/macros.perl
Summary: Math::Prime::XS - Calculate/detect prime numbers with deterministic tests
-#Summary(pl.UTF-8):
Name: perl-Math-Prime-XS
Version: 0.26
Release: 1
@@ -16,8 +15,7 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 5bd7727093742cc85cd6c762422c98c8
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/Math-Prime-XS/
+URL: http://search.cpan.org/dist/Math-Prime-XS/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps} || %{with tests}
@@ -30,9 +28,6 @@ Math::Prime::XS calculates/detects prime numbers by either applying
Modulo operator division, the Sieve of Eratosthenes, Trial division or
a Summing calculation.
-# %description -l pl.UTF-8
-# TODO
-
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Prime-XS.git/commitdiff/b058f967a9e05d5e5290ebcde5ae94b766ae4014
More information about the pld-cvs-commit
mailing list