%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Type-Tiny Version: 2.004000 Release: 2mamba Summary: tiny, yet Moo(se)-compatible type constraint Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Exporter-Tiny BuildRequires: perl-Reply BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: perl >= %perl_major_ver %description tiny, yet Moo(se)-compatible type constraint. %prep %setup -q -n Type-Tiny-%{version} %build %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make #% make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm -f $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f .packlist %defattr(-,root,root) %doc CREDITS LICENSE ## note: eventually add the remaining documents (if any) # %doc NEWS README TODO %changelog * Mon Apr 17 2023 Sdk Build System 2.004000-2mamba - rebuilt with perl 5.36.0 * Thu Apr 06 2023 Automatic Build System 2.004000-1mamba - automatic version update by autodist * Sun Jan 22 2023 Automatic Build System 2.002001-1mamba - automatic version update by autodist * Mon Jan 02 2023 Automatic Build System 2.002000-1mamba - automatic version update by autodist * Fri Sep 30 2022 Automatic Build System 2.000001-1mamba - automatic version update by autodist * Sun Sep 25 2022 Automatic Build System 2.000000-1mamba - automatic version update by autodist * Thu Sep 01 2022 Automatic Build System 1.016010-1mamba - automatic version update by autodist * Sun Aug 28 2022 Automatic Build System 1.016009-1mamba - automatic version update by autodist * Mon Aug 15 2022 Automatic Build System 1.016008-1mamba - automatic version update by autodist * Fri Aug 05 2022 Automatic Build System 1.016007-1mamba - automatic version update by autodist * Tue Jul 26 2022 Automatic Build System 1.016006-1mamba - automatic version update by autodist * Sun Jul 24 2022 Automatic Build System 1.016005-1mamba - automatic version update by autodist * Sun Jul 24 2022 Automatic Build System 1.016004-1mamba - automatic version update by autodist * Fri Jul 22 2022 Automatic Build System 1.016003-1mamba - automatic version update by autodist * Wed Jul 20 2022 Automatic Build System 1.016002-1mamba - automatic version update by autodist * Mon Jul 18 2022 Automatic Build System 1.016001-1mamba - automatic version update by autodist * Sun Jul 17 2022 Automatic Build System 1.016000-1mamba - automatic version update by autodist * Tue Jun 28 2022 Automatic Build System 1.014000-1mamba - automatic version update by autodist * Wed Jun 08 2022 Automatic Build System 1.012005-1mamba - automatic version update by autodist * Mon Jan 10 2022 Automatic Build System 1.012004-1mamba - automatic version update by autodist * Sun Feb 21 2021 Automatic Build System 1.012001-1mamba - automatic version update by autodist * Sun Dec 06 2020 Silvan Calarco 1.012000-1mamba - update to 1.012000 * Sun Apr 19 2020 Automatic Build System 1.010001-1mamba - automatic update by autodist * Sun Jun 11 2017 Automatic Build System 1.002001-1mamba - automatic update by autodist * Mon Nov 03 2014 Silvan Calarco 1.000005-1mamba - package created using the webbuild interface