Blob Blame History Raw
Name:           perl-Tie-Hash-Method
Version:        0.02
Release:        4%{?dist}
Summary:        Tied hash with specific methods overridden by callbacks
License:        GPL+ or Artistic
Group:          Development/Libraries
BuildArch:      noarch
BuildRequires:  coreutils
BuildRequires:  findutils
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl-generators
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(strict)
BuildRequires:  perl(warnings)
# Runt-time:
BuildRequires:  perl(base)
BuildRequires:  perl(constant)
BuildRequires:  perl(Data::Dumper)
BuildRequires:  perl(Exporter)
# Tests:
BuildRequires:  perl(Test::More)
# Optional tests:
BuildRequires:  perl(Pod::Coverage) >= 0.18
BuildRequires:  perl(Test::Pod) >= 1.22
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))

Perl Tie::Hash::Method module provides a way to create a tied hash with
specific overridden behavior without having to create a new class to do it.
A tied hash with no methods overridden is functionally equivalent to a normal

%setup -q -n Tie-Hash-Method-%{version}

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*

make test

%doc Changes README

* Sat Feb 11 2017 Fedora Release Engineering <> - 0.02-4
- Rebuilt for

* Sun May 15 2016 Jitka Plesnikova <> - 0.02-3
- Perl 5.24 rebuild

* Wed Feb 10 2016 Petr Pisar <> - 0.02-2
- Specify dependencies for optional tests

* Thu Feb 04 2016 Petr Pisar <> 0.02-1
- Specfile autogenerated by cpanspec 1.78.