[packages/perl-MooseX-Getopt] - updated to 0.75

qboosh qboosh at pld-linux.org
Wed Jun 1 18:40:12 CEST 2022


commit 1dc5642f11d894de40339196f2411f28c0512881
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 1 18:41:17 2022 +0200

    - updated to 0.75

 perl-MooseX-Getopt.spec | 57 ++++++++++++++++++++++++-------------------------
 1 file changed, 28 insertions(+), 29 deletions(-)
---
diff --git a/perl-MooseX-Getopt.spec b/perl-MooseX-Getopt.spec
index 399ca2d..799da8f 100644
--- a/perl-MooseX-Getopt.spec
+++ b/perl-MooseX-Getopt.spec
@@ -1,28 +1,43 @@
 #
 # Conditional build:
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define	pdir	MooseX
 %define	pnam	Getopt
 Summary:	MooseX::Getopt - A Moose role for processing command line options
-Summary(pl.UTF-8):	MooseX::Getopt - narzędzie Moose do przetwarzania opcji z linii komend
+Summary(pl.UTF-8):	MooseX::Getopt - narzędzie Moose do przetwarzania opcji z linii poleceń
 Name:		perl-MooseX-Getopt
-Version:	0.39
+Version:	0.75
 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:	f4e6ffb5794335eb6222dd822357687a
-URL:		http://search.cpan.org/dist/MooseX-Getopt/
+# Source0-md5:	1b9112b9b8723bf2ec225a0fa09285f1
+URL:		https://metacpan.org/dist/MooseX-Getopt
+BuildRequires:	perl-ExtUtils-MakeMaker
+BuildRequires:	perl-Module-Build-Tiny >= 0.034
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires:	perl(Getopt::Long::Descriptive) >= 0.081
+BuildRequires:	perl-Getopt-Long >= 2.37
+BuildRequires:	perl-Getopt-Long-Descriptive >= 0.088
+BuildRequires:	perl-Module-Metadata
+BuildRequires:	perl-Module-Runtime
 BuildRequires:	perl-Moose >= 0.56
-BuildRequires:	perl-MooseX-Role-Parameterized
+BuildRequires:	perl-MooseX-Role-Parameterized >= 1.01
+BuildRequires:	perl-Path-Tiny >= 0.009
+BuildRequires:	perl-Scalar-List-Utils
+BuildRequires:	perl-Test-Deep
 BuildRequires:	perl-Test-Exception >= 0.21
-BuildRequires:	perl-Test-Requires
+BuildRequires:	perl-Test-Fatal
+BuildRequires:	perl-Test-Needs
+BuildRequires:	perl-Test-Simple >= 0.88
+BuildRequires:	perl-Test-Trap
+BuildRequires:	perl-Test-Warnings >= 0.009
+BuildRequires:	perl-Try-Tiny
+BuildRequires:	perl-namespace-autoclean
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,25 +46,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This is a role which provides an alternate constructor for creating
 objects using parameters passed in from the command line.
 
-This module attempts to DWIM as much as possible with the command line
-params by introspecting your class's attributes. It will use the name
-of your attribute as the command line option, and if there is a type
-constraint defined, it will configure Getopt::Long to handle the
-option accordingly.
-
-You can use the trait MooseX::Getopt::Meta::Attribute::Trait or the
-attribute metaclass MooseX::Getopt::Meta::Attribute to get non-default
-commandline option names and aliases.
-
-You can use the trait MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
-or the attribute metaclass MooseX::Getopt::Meta::Attribute::NoGetopt
-to have MooseX::Getopt ignore your attribute in the commandline
-options.
-
 %description -l pl.UTF-8
-Jest to narzędzie które dostarcza alternatywny konstruktor do
-tworzenia objektówkorzystających z parametrów przekazanych z linii
-poleceń.
+Jest to narzędzie udostępniające alternatywny konstruktor do tworzenia
+obiektów korzystających z parametrów przekazanych z linii poleceń.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -72,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
-%{perl_vendorlib}/MooseX/*.pm
+%doc Changes README
+%{perl_vendorlib}/MooseX/Getopt.pm
 %{perl_vendorlib}/MooseX/Getopt
-%{_mandir}/man3/*
+%{_mandir}/man3/MooseX::Getopt*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-MooseX-Getopt.git/commitdiff/1dc5642f11d894de40339196f2411f28c0512881



More information about the pld-cvs-commit mailing list