From ce1bf030ac36bcb01f1ce4907c844f76c55f0e68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 21:57:34 +0200 Subject: [PATCH] use generic url --- perl-MooseX-NonMoose.spec | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/perl-MooseX-NonMoose.spec b/perl-MooseX-NonMoose.spec index 8d07562..f054cdb 100644 --- a/perl-MooseX-NonMoose.spec +++ b/perl-MooseX-NonMoose.spec @@ -1,12 +1,11 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# + %define pdir MooseX %define pnam NonMoose %include /usr/lib/rpm/macros.perl Summary: MooseX::NonMoose - easy subclassing of non-Moose classes -#Summary(pl.UTF-8): Name: perl-MooseX-NonMoose Version: 0.22 Release: 1 @@ -15,14 +14,13 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/MooseX/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 08627b8575835e64b44e82424df27a8f -# generic URL, check or change before uncommenting -#URL: http://search.cpan.org/dist/MooseX-NonMoose/ +URL: http://search.cpan.org/dist/MooseX-NonMoose/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} +BuildRequires: perl(Test::Fatal) BuildRequires: perl-List-MoreUtils BuildRequires: perl-Moose >= 1.15 -BuildRequires: perl(Test::Fatal) %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -35,15 +33,11 @@ installing (and inlining, at make_immutable time) a constructor that makes sure things like BUILD methods are called. It tries to be as non-intrusive as possible - when this module is used, inheriting from non-Moose classes and inheriting from Moose classes should work -identically, aside from the few caveats mentioned below. -One of the goals of this module is that including it in a -Moose::Exporter-based package used across an entire application should -be possible, without interfering with classes that only inherit from -Moose modules, or even classes that don't inherit from anything at -all. - -# %description -l pl.UTF-8 -# TODO +identically, aside from the few caveats mentioned below. One of the +goals of this module is that including it in a Moose::Exporter-based +package used across an entire application should be possible, without +interfering with classes that only inherit from Moose modules, or even +classes that don't inherit from anything at all. %prep %setup -q -n %{pdir}-%{pnam}-%{version} -- 2.44.0