Name: perl-Class-Tiny-Chained Version: 0.004 Release: 1%{?dist} Summary: Minimalist class construction, with chained attributes License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Tiny-Chained/ Source0: http://www.cpan.org/authors/id/D/DB/DBOOK/Class-Tiny-Chained-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Class::Tiny) >= 1.003 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Class::Tiny) >= 1.003 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Class::Tiny::Chained) %description Class::Tiny::Chained is a wrapper around Class::Tiny which makes the generated attribute accessors chainable; that is, when setting an attribute value, the object is returned so that further methods can be called. %prep %setup -q -n Class-Tiny-Chained-%{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 Changes CONTRIBUTING.md cpanfile dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Nov 22 2019 Dave Cross 0.004-1 - Specfile autogenerated by cpanspec 1.78.