[packages/perl-Class-Hash] use generic url
glen
glen at pld-linux.org
Tue Nov 25 10:12:45 CET 2014
commit 78cc74e1208efcf69ef97634ecf0fd4df11b64a5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 11:12:42 2014 +0200
use generic url
perl-Class-Hash.spec | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/perl-Class-Hash.spec b/perl-Class-Hash.spec
index d22486c..d6efd9c 100644
--- a/perl-Class-Hash.spec
+++ b/perl-Class-Hash.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Class
%define pnam Hash
+%include /usr/lib/rpm/macros.perl
Summary: Class::Hash - Perl extension for hashes that look like classes
Summary(pl.UTF-8): CLass::Hash - rozszerzenie Perla o hasze wyglądające jak klasy
Name: perl-Class-Hash
@@ -15,6 +15,7 @@ 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: 5366af138b4353755decf464afedccc4
+URL: http://search.cpan.org/dist/Class-Hash/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
@@ -22,8 +23,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This component provides a method-based interface to a hash.
-Occasionally, it's more convenient to have named methods to access
-a hash than hash keys. This module generalizes this behavior. It tries
+Occasionally, it's more convenient to have named methods to access a
+hash than hash keys. This module generalizes this behavior. It tries
to work the tied hash interface inside-out.
This module tries to do as much or as little for you as you want and
@@ -37,10 +38,10 @@ bardziej wygodne jest mieć nazwane metody do dostępu do hasza zamiast
kluczy. Ten moduł generalizuje takie zachowanie. Próbuje wyprowadzić
interfejs powiązanego hasza.
-Ten moduł próbuje zrobić jak najwięcej lub jak najmniej za
-programistę w zależności od potrzeb, dostarczając wiele opcji
-konfiguracyjnych. Opcje te pozwalają określić rodzaj interfejsu, jaki
-ma obiekt. Ten interfejs może być także modyfikowany później.
+Ten moduł próbuje zrobić jak najwięcej lub jak najmniej za programistę
+w zależności od potrzeb, dostarczając wiele opcji konfiguracyjnych.
+Opcje te pozwalają określić rodzaj interfejsu, jaki ma obiekt. Ten
+interfejs może być także modyfikowany później.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Class-Hash.git/commitdiff/78cc74e1208efcf69ef97634ecf0fd4df11b64a5
More information about the pld-cvs-commit
mailing list