Name: perl-MooseX-MungeHas Version: 0.011 Release: 1%{?dist} Summary: Munge your "has" (works with Moo, Moose and Mouse) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-MungeHas/ Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/MooseX-MungeHas-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008000 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Sub::Util) >= 1.40 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Requires) >= 0.06 Requires: perl(Sub::Util) >= 1.40 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description MooseX::MungeHas alters the behaviour of the attributes of your Moo, Moose or Mouse based class. It manages to support all three because it doesn't attempt to do anything smart with metathingies; it simply installs a wrapper for has that munges the attribute specification hash before passing it on to the original has function. %prep %setup -q -n MooseX-MungeHas-%{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 COPYRIGHT CREDITS Changes LICENSE META.json README dist.ini doap.ttl %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Apr 12 2024 rpm 0.011-1 - Specfile autogenerated by cpanspec 1.78.