[packages/perl-Type-Tiny] - updated to 1.012004 - separated Reply plugin (as perl-Reply-Plugin-TypeTiny) to avoid Reply depend

qboosh qboosh at pld-linux.org
Thu Jun 2 19:43:40 CEST 2022


commit 85bd7eee7f8b29d32963acde196b7eaafc14211c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 2 19:44:49 2022 +0200

    - updated to 1.012004
    - separated Reply plugin (as perl-Reply-Plugin-TypeTiny) to avoid Reply dependency in main package

 perl-Type-Tiny.spec | 49 +++++++++++++++++++++++++++++++++++++------------
 1 file changed, 37 insertions(+), 12 deletions(-)
---
diff --git a/perl-Type-Tiny.spec b/perl-Type-Tiny.spec
index f4eaccd..09e1db5 100644
--- a/perl-Type-Tiny.spec
+++ b/perl-Type-Tiny.spec
@@ -1,24 +1,30 @@
 #
 # Conditional build:
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define		pdir	Type
 %define		pnam	Tiny
 Summary:	Type::Tiny - tiny, yet Moo(se)-compatible type constraint
+Summary(pl.UTF-8):	Type::Tiny - mały, ale zgodny z Moo(se) moduł ograniczeń typów
 Name:		perl-Type-Tiny
-Version:	1.010002
+Version:	1.012004
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/T/TO/TOBYINK/Type-Tiny-%{version}.tar.gz
-# Source0-md5:	e6f95814ebff168f747775e7bf320342
-URL:		http://search.cpan.org/dist/Type-Tiny/
+# Source0-md5:	7a1688c4de07a0ed481a1811e5e82e63
+URL:		https://metacpan.org/dist/Type-Tiny
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.17
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires:	perl-Exporter-Tiny >= 0.026
+BuildRequires:	perl-Exporter-Tiny >= 1.000
+BuildRequires:	perl-Test-Simple >= 0.96
 %endif
+Conflicts:	perl-Kavorka <= 0.013
+Conflicts:	perl-Types-ReadOnly <= 0.001
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,11 +32,21 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Type::Tiny is a tiny class for creating Moose-like type constraint
 objects which are compatible with Moo, Moose and Mouse.
 
-Maybe now we won't need to have separate MooseX, MouseX and MooX
-versions of everything? We can but hope...
+%description -l pl.UTF-8
+Type::Tiny to mała klasa do tworzenia obiektów ograniczeń typów w
+stylu Moose, będących zgodnych z Moo, Moose i Mouse.
 
-This documents the internals of Type::Tiny. Type::Tiny::Manual is a
-better starting place if you're new.
+%package -n perl-Reply-Plugin-TypeTiny
+Summary:	Reply::Plugin::TypeTiny - improved type constraint exceptions in Reply
+Summary(pl.UTF-8):	Reply::Plugin::TypeTiny - ulepszone wyjątki z ograniczeniami typów w Reply
+Group:		Development/Languages/Perl
+Requires:	%{name} = %{version}-%{release}
+
+%description -n perl-Reply-Plugin-TypeTiny
+This is a small plugin to improve error messages in Reply.
+
+%description -n perl-Reply-Plugin-TypeTiny -l pl.UTF-8
+Mała wtyczka poprawiająca komunikaty błędów w Reply.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -56,14 +72,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes CREDITS INSTALL NEWS README
+%doc COPYRIGHT CREDITS Changes NEWS README
 %{perl_vendorlib}/Devel/TypeTiny
 %{perl_vendorlib}/Error/TypeTiny.pm
 %{perl_vendorlib}/Error/TypeTiny
 %{perl_vendorlib}/Eval/TypeTiny.pm
-%{perl_vendorlib}/Reply/Plugin/TypeTiny.pm
 %{perl_vendorlib}/Test/TypeTiny.pm
 %{perl_vendorlib}/Type
 %{perl_vendorlib}/Types
-%{_mandir}/man3/*
+%{_mandir}/man3/Devel::TypeTiny::*.3*
+%{_mandir}/man3/Error::TypeTiny*.3*
+%{_mandir}/man3/Eval::TypeTiny.3*
+%{_mandir}/man3/Test::TypeTiny.3*
+%{_mandir}/man3/Type::*.3*
+%{_mandir}/man3/Types::*.3*
 %{_examplesdir}/%{name}-%{version}
+
+%files -n perl-Reply-Plugin-TypeTiny
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Reply/Plugin/TypeTiny.pm
+%{_mandir}/man3/Reply::Plugin::TypeTiny.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Type-Tiny.git/commitdiff/85bd7eee7f8b29d32963acde196b7eaafc14211c



More information about the pld-cvs-commit mailing list