# Perform optional tests %bcond_without perl_Tree_enables_optional_test Name: perl-Tree Version: 1.15 Release: 6%{?dist} Summary: Tree data structure # lib/Tree/Binary2.pm: GPL+ or Artistic # lib/Tree/DeepClone.pm: GPL+ or Artistic # lib/Tree/Fast.pm: GPL+ or Artistic # lib/Tree.pm: GPL+ or Artistic # LICENSE: GPL+ or Artistic License: GPL+ or Artistic URL: https://metacpan.org/release/Tree Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Tree-%{version}.tgz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # I deliberately striped dependency versions because upstream blindly copies # versions from his machine, and that prevents from pushing this software into # older distributions, CPAN RT#117858 # Run-time: BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(base) BuildRequires: perl(constant) BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) %if %{with perl_Tree_enables_optional_test} # Optional tests: BuildRequires: perl(Test::Memory::Cycle) >= 1.02 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This implements a full-featured N-ary tree representation with configurable error-handling and a simple events system that allows for transparent persistence to a variety of data stores. %prep %setup -q -n Tree-%{version} perl -MConfig -pi -e 's/\A#!.*/$Config{startperl}/' scripts/print.tree.pl %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE # README not useful %doc Changes scripts %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.15-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 1.15-5 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.15-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.15-2 - Perl 5.34 rebuild * Tue Feb 02 2021 Petr Pisar - 1.15-1 - 1.15 bump * Wed Jan 27 2021 Fedora Release Engineering - 1.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.14-4 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 06 2019 Petr Pisar - 1.14-1 - 1.14 bump * Fri May 31 2019 Jitka Plesnikova - 1.13-3 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 15 2018 Petr Pisar - 1.13-1 - 1.13 bump * Tue Nov 13 2018 Petr Pisar - 1.12-1 - 1.12 bump * Mon Nov 12 2018 Petr Pisar - 1.11-1 - 1.11 bump * Fri Jul 13 2018 Fedora Release Engineering - 1.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.10-6 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.10-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Sep 15 2016 Petr Pisar - 1.10-1 - 1.10 bump * Thu Sep 15 2016 Petr Pisar - 1.09-2 - Remove useless dependency version contrains (CPAN RT#117858) * Thu Sep 15 2016 Petr Pisar - 1.09-1 - 1.09 bump * Sun May 15 2016 Jitka Plesnikova - 1.08-2 - Perl 5.24 rebuild * Thu May 05 2016 Petr Pisar - 1.08-1 - 1.08 bump - License changed to (GPL+ or Artistic) * Fri Apr 15 2016 Petr Pisar 1.07-1 - Specfile autogenerated by cpanspec 1.78.