From: Elan Ruusamäe Date: Tue, 25 Nov 2014 09:12:09 +0000 (+0200) Subject: use generic url X-Git-Tag: auto/th/perl-Class-Container-0.13-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=1c597cbbf2915d18e72f98b6545d52e8b569a000;p=packages%2Fperl-Class-Container.git use generic url --- diff --git a/perl-Class-Container.spec b/perl-Class-Container.spec index df86f5a..672dc23 100644 --- a/perl-Class-Container.spec +++ b/perl-Class-Container.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 Container +%include /usr/lib/rpm/macros.perl Summary: Class::Container - glues object frameworks together transparently Summary(pl.UTF-8): Class::Container - przezroczyste sklejanie szkieletów obiektów Name: perl-Class-Container @@ -15,11 +15,12 @@ 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: 6896bdb4464b96ad638e22b0400acbc9 +URL: http://search.cpan.org/dist/Class-Container/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-Params-Validate >= 0.18 %endif -BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -29,9 +30,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) This class facilitates building frameworks of several classes that inter-operate. It was first designed and built for "HTML::Mason", in which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, -and several other objects must create each other transparently, passing -the appropriate parameters to the right class, possibly substituting -their own subclass for any of these objects. +and several other objects must create each other transparently, +passing the appropriate parameters to the right class, possibly +substituting their own subclass for any of these objects. %description -l pl.UTF-8 Ta klasa ułatwia tworzenie szkieletu dla różnych, współpracujących ze