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