[packages/perl-File-Random] use generic url
glen
glen at pld-linux.org
Tue Nov 25 11:44:34 CET 2014
commit 42d0bb743754158ccd61a2f9bd63d5019ffcc2f7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 12:44:31 2014 +0200
use generic url
perl-File-Random.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-File-Random.spec b/perl-File-Random.spec
index 35510ba..a9790a1 100644
--- a/perl-File-Random.spec
+++ b/perl-File-Random.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir File
%define pnam Random
+%include /usr/lib/rpm/macros.perl
Summary: File::Random - Perl module for random selecting of a file
Summary(pl.UTF-8): File::Random - moduł Perla do losowego wyboru pliku
Name: perl-File-Random
@@ -15,7 +15,9 @@ 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: 4138133bf7fb0a2b4400073a3f1cea1d
+URL: http://search.cpan.org/dist/File-Random/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-Set-Scalar
BuildRequires: perl-Test-Class
@@ -25,13 +27,12 @@ BuildRequires: perl-Test-Simple
BuildRequires: perl-Test-Warn >= 0:0.08-2
BuildRequires: perl-Want
%endif
-BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module simplifies the routine job of selecting a random file.
-(As you can find at CGI scripts).
+This module simplifies the routine job of selecting a random file. (As
+you can find at CGI scripts).
The simple standard job of selecting a random line from a file is
implemented, too.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-File-Random.git/commitdiff/42d0bb743754158ccd61a2f9bd63d5019ffcc2f7
More information about the pld-cvs-commit
mailing list