Name: perl-MooseX-SingleArg Version: 0.08 Release: 1%{?dist} Summary: No-fuss instantiation of Moose objects using a single argument License: GPL+ or Artistic URL: http://search.cpan.org/dist/MooseX-SingleArg/ Source0: http://www.cpan.org/modules/by-module/MooseX/MooseX-SingleArg-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Moose) >= 1.23 BuildRequires: perl(Test2::V0) >= 0.000094 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Fatal) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module allows Moose instances to be constructed with a single argument. Your class or role must use this module and then use the single_arg sugar to declare which attribute will be assigned the single argument value. %prep %setup -q -n MooseX-SingleArg-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes cpanfile META.json README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Nov 28 2018 Xavier Bachelot 0.08-1 - Initial package.