# -*- rpm-spec -*- %define metacpan https://cpan.metacpan.org/authors/id/J/JV/JV %define FullName String-Interpolate-Named Name: perl-%{FullName} Summary: Interpolated named arguments in string License: GPL+ or Artistic Version: 1.03 Release: 4%{?dist} Source: %{metacpan}/%{FullName}-%{version}.tar.gz Url: https://metacpan.org/release/%{FullName} # It's all plain perl, nothing architecture dependent. BuildArch: noarch Requires: perl(:VERSION) >= 5.10.1 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildRequires: coreutils BuildRequires: make BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Test::More) BuildRequires: perl(parent) BuildRequires: perl(strict) BuildRequires: perl(utf8) BuildRequires: perl(warnings) BuildRequires: perl-generators BuildRequires: perl-interpreter %description String::Interpolate::Named provides a single function, interpolate, that takes a string and substitutes named variables by target texts. %prep %setup -q -n %{FullName}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %check make test VERBOSE=1 %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.03-3 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jan 13 2022 Johan Vromans - 1.03-1 - Upgrade to upstream. * Wed Jan 12 2022 Johan Vromans - 1.02-1 - Upgrade to upstream. * Thu Jul 22 2021 Fedora Release Engineering - 1.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 13 2021 Jitka Plesnikova - 1.01-1 - 1.01 bump * Fri May 21 2021 Jitka Plesnikova - 1.00-5 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.00-2 - Perl 5.32 rebuild * Fri Feb 28 2020 Johan Vromans - 1.00-1 - Initial Fedora package.