Name: perl-Dist-Zilla-Plugin-ModuleBuildTiny Version: 0.017 Release: 4%{?dist} Summary: Build a Build.PL that uses Module::Build::Tiny License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Dist-Zilla-Plugin-ModuleBuildTiny Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Dist-Zilla-Plugin-ModuleBuildTiny-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(Config) # Module::Build::Tiny version in META is from a previous version. # Zilla::Plugin::ModuleBuildTiny::version() outputs a minimal # Module::Build::Tiny version which depends on a content of the maintained # project code. The highest one is: BuildRequires: perl(Module::Build::Tiny) >= 0.044 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Dist::Zilla) >= 4.300039 BuildRequires: perl(Dist::Zilla::File::InMemory) BuildRequires: perl(Dist::Zilla::Role::BuildPL) BuildRequires: perl(Dist::Zilla::Role::FileGatherer) BuildRequires: perl(Dist::Zilla::Role::MetaProvider) BuildRequires: perl(Dist::Zilla::Role::PrereqSource) BuildRequires: perl(Dist::Zilla::Role::TextTemplate) BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(Module::Metadata) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(MooseX::Types::Perl) BuildRequires: perl(MooseX::Types::Moose) # Tests: BuildRequires: perl(blib) >= 1.01 BuildRequires: perl(CPAN::Meta) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::DZil) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) Requires: perl(Dist::Zilla::File::InMemory) Requires: perl(Dist::Zilla::Role::BuildPL) Requires: perl(Dist::Zilla::Role::FileGatherer) Requires: perl(Dist::Zilla::Role::MetaProvider) Requires: perl(Dist::Zilla::Role::PrereqSource) Requires: perl(Dist::Zilla::Role::TextTemplate) # Zilla::Plugin::ModuleBuildTiny::version() outputs a minimal # Module::Build::Tiny version which depends on a content of the maintained # project code. The highest one is: Requires: perl(Module::Build::Tiny) >= 0.044 %description This Dist::Zilla plugin will create a Build.PL for installing the distribution using Module::Build::Tiny. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: coreutils Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Dist-Zilla-Plugin-ModuleBuildTiny-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Build.PL --installdirs=vendor ./Build %install ./Build install --destdir=%{buildroot} --create_packlist=0 %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/bash set -e # Tests Dist::Zilla::Tester creates a temporary directories in CWD DIR=$(mktemp -d) cp -a %{_libexecdir}/%{name}/* "$DIR" pushd "$DIR" prove -I . -j "$(getconf _NPROCESSORS_ONLN)" popd rm -r "$DIR" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') ./Build test %files %license LICENSE %doc Changes README %dir %{perl_vendorlib}/Dist %dir %{perl_vendorlib}/Dist/Zilla %dir %{perl_vendorlib}/Dist/Zilla/Plugin %{perl_vendorlib}/Dist/Zilla/Plugin/ModuleBuildTiny.pm %{_mandir}/man3/Dist::Zilla::Plugin::ModuleBuildTiny.* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.017-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.017-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.017-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon May 15 2023 Petr Pisar - 0.017-1 - 0.017 bump * Tue May 02 2023 Petr Pisar - 0.016-1 - 0.016 bump - Package the tests * Fri Jan 20 2023 Fedora Release Engineering - 0.015-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.015-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.015-17 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.015-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.015-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.015-14 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.015-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.015-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.015-11 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.015-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.015-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.015-8 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.015-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.015-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.015-5 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.015-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.015-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.015-2 - Perl 5.26 rebuild * Thu Mar 23 2017 Petr Pisar 0.015-1 - Specfile autogenerated by cpanspec 1.78.