Name: perl-MooX-Traits Version: 0.005 Release: 1%{?dist} Summary: Automatically apply roles at object creation time License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooX-Traits/ Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/MooX-Traits-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006000 BuildRequires: perl(Exporter::Shiny) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moo::Role) BuildRequires: perl(Role::Tiny) >= 1.000000 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Requires) Requires: perl(Exporter::Shiny) Requires: perl(Module::Runtime) Requires: perl(Moo::Role) Requires: perl(Role::Tiny) >= 1.000000 Requires: perl(Scalar::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Was any of the SYNOPSIS unexpected? Basically, this module is the same thing as MooseX::Traits and MouseX::Traits, only for Moo. Quelle surprise, right? %prep %setup -q -n MooX-Traits-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CONTRIBUTING COPYRIGHT CREDITS Changes LICENSE META.json README dist.ini doap.ttl %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Mar 08 2024 rpm 0.005-1 - Specfile autogenerated by cpanspec 1.78.