[packages/perl-MooseX-NonMoose] - pl, updated to 0.26
qboosh
qboosh at pld-linux.org
Fri Oct 9 07:47:11 CEST 2020
commit f34bfbfd0b8870a3591a28245933acba77f9f4e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Oct 9 07:47:04 2020 +0200
- pl, updated to 0.26
perl-MooseX-NonMoose.spec | 38 +++++++++++++++++++++++++++++---------
1 file changed, 29 insertions(+), 9 deletions(-)
---
diff --git a/perl-MooseX-NonMoose.spec b/perl-MooseX-NonMoose.spec
index 1c84fe5..b967af2 100644
--- a/perl-MooseX-NonMoose.spec
+++ b/perl-MooseX-NonMoose.spec
@@ -1,25 +1,31 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
%define pdir MooseX
%define pnam NonMoose
Summary: MooseX::NonMoose - easy subclassing of non-Moose classes
+Summary(pl.UTF-8): MooseX::NonMoose - łatwe podklasy dla klas spoza Moose
Name: perl-MooseX-NonMoose
-Version: 0.22
+Version: 0.26
Release: 1
# same as perl
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
-URL: http://search.cpan.org/dist/MooseX-NonMoose/
+# Source0-md5: 8a226451ba312c21a27376741c302f47
+URL: https://metacpan.org/release/MooseX-NonMoose
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
-BuildRequires: perl(Test::Fatal)
BuildRequires: perl-List-MoreUtils
-BuildRequires: perl-Moose >= 1.15
+BuildRequires: perl-Module-Runtime
+BuildRequires: perl-Moose >= 2.00
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Simple >= 0.88
+BuildRequires: perl-Try-Tiny
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,12 +38,26 @@ 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
+identically, aside from the few caveats mentioned in docs. 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
+MooseX::NonMoose pozwala na łatwe tworzenie podklas klas spoza Moose
+przy użyciu Moose, dbając o irytujące szczegóły z tym związane, takie
+jak ustawianie właściwego dziedziczenia po Moose::Object oraz
+instalowanie (oraz włączanie w czasie make_immutable) konstruktora,
+który zapewnia, że nastąpi wywołanie koniecznych metod, jak BUILD.
+Moduł próbuje być możliwie najmniej inwazyjny - kiedy jest używany.
+dziedziczenie z klas spoza Moose oraz dziedzieczenie z klas Moose
+powinno działać tak samo, poza kilkoma szczegółami opisanymi w
+dokumentacji. Jednym z zastosowań tego modułu jest umożliwienie
+dołączania go w pakietach opartych na Moose::Exporter, używanych w
+całej aplikacji, bez interferencji z klasami dziedziczonymi tylko z
+modułów Moose albo klas nie dziedziczących niczego.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -60,6 +80,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc Changes README
-%{perl_vendorlib}/MooseX/*.pm
+%{perl_vendorlib}/MooseX/NonMoose.pm
%{perl_vendorlib}/MooseX/NonMoose
-%{_mandir}/man3/*
+%{_mandir}/man3/MooseX::NonMoose*.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-MooseX-NonMoose.git/commitdiff/f34bfbfd0b8870a3591a28245933acba77f9f4e0
More information about the pld-cvs-commit
mailing list