|
|
bbaafce |
Name: perl-Hash-AutoHash
|
|
|
bbaafce |
Version: 1.17
|
|
|
41308f7 |
Release: 15%{?dist}
|
|
|
bbaafce |
Summary: Object-oriented access to real and tied hashes
|
|
|
bbaafce |
License: GPL+ or Artistic
|
|
|
bbaafce |
URL: https://metacpan.org/release/Hash-AutoHash
|
|
|
bbaafce |
Source0: https://cpan.metacpan.org/authors/id/N/NA/NATG/Hash-AutoHash-%{version}.tar.gz
|
|
|
bbaafce |
BuildArch: noarch
|
|
|
bbaafce |
BuildRequires: perl-generators
|
|
|
bbaafce |
BuildRequires: perl-interpreter
|
|
|
bbaafce |
BuildRequires: perl(:VERSION) >= 5.8.3
|
|
|
bbaafce |
BuildRequires: perl(Module::Build)
|
|
|
bbaafce |
BuildRequires: perl(strict)
|
|
|
bbaafce |
BuildRequires: perl(warnings)
|
|
|
bbaafce |
# Run-time:
|
|
|
bbaafce |
BuildRequires: perl(Carp) >= 1.2
|
|
|
bbaafce |
BuildRequires: perl(List::MoreUtils) >= 0.33
|
|
|
bbaafce |
BuildRequires: perl(Scalar::Util) >= 1.23
|
|
|
bbaafce |
BuildRequires: perl(Tie::Hash) >= 1.04
|
|
|
bbaafce |
BuildRequires: perl(Tie::ToObject) >= 0.03
|
|
|
bbaafce |
BuildRequires: perl(vars)
|
|
|
bbaafce |
# Tests:
|
|
|
bbaafce |
BuildRequires: perl(constant)
|
|
|
bbaafce |
BuildRequires: perl(Exporter) >= 5.68
|
|
|
bbaafce |
BuildRequires: perl(File::Spec) >= 3.4
|
|
|
bbaafce |
BuildRequires: perl(lib)
|
|
|
bbaafce |
BuildRequires: perl(Storable) >= 2.3
|
|
|
bbaafce |
BuildRequires: perl(Test::Deep) >= 0.11
|
|
|
bbaafce |
BuildRequires: perl(Test::More) >= 0.98
|
|
|
bbaafce |
BuildRequires: perl(Test::Pod) >= 1.48
|
|
|
bbaafce |
BuildRequires: perl(Test::Pod::Content) >= 0.0.6
|
|
|
bbaafce |
BuildRequires: perl(Tie::Hash::MultiValue) >= 1.02
|
|
|
bbaafce |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
bbaafce |
Requires: perl(Carp) >= 1.2
|
|
|
bbaafce |
Requires: perl(List::MoreUtils) >= 0.33
|
|
|
bbaafce |
Requires: perl(Tie::Hash) >= 1.04
|
|
|
bbaafce |
Requires: perl(Tie::ToObject) >= 0.03
|
|
|
bbaafce |
|
|
|
bbaafce |
# Remove underspecified dependencies
|
|
|
bbaafce |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Carp|List::MoreUtils|Tie::Hash|Tie::ToObject)\\)$
|
|
|
bbaafce |
|
|
|
bbaafce |
%description
|
|
|
bbaafce |
This is yet another Perl module that lets you access or change the elements of
|
|
|
bbaafce |
a hash using methods with the same name as the element's key. It follows in
|
|
|
bbaafce |
the footsteps of Hash::AsObject, Hash::Inflator, Data::OpenStruct::Deep,
|
|
|
bbaafce |
Object::AutoAccessor, and probably others. The main difference between this
|
|
|
bbaafce |
module and its forebears is that it supports tied hashes, in addition to
|
|
|
bbaafce |
regular hashes.
|
|
|
bbaafce |
|
|
|
bbaafce |
%prep
|
|
|
bbaafce |
%setup -q -n Hash-AutoHash-%{version}
|
|
|
bbaafce |
|
|
|
bbaafce |
%build
|
|
|
bbaafce |
perl Build.PL --installdirs=vendor
|
|
|
bbaafce |
./Build
|
|
|
bbaafce |
|
|
|
bbaafce |
%install
|
|
|
bbaafce |
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
|
|
bbaafce |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
bbaafce |
|
|
|
bbaafce |
%check
|
|
|
bbaafce |
./Build test
|
|
|
bbaafce |
|
|
|
bbaafce |
%files
|
|
|
bbaafce |
%doc Changes README
|
|
|
bbaafce |
%{perl_vendorlib}/*
|
|
|
bbaafce |
%{_mandir}/man3/*
|
|
|
bbaafce |
|
|
|
bbaafce |
%changelog
|
|
|
41308f7 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-15
|
|
|
41308f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
41308f7 |
|
|
|
7cad40e |
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-14
|
|
|
7cad40e |
- Perl 5.36 rebuild
|
|
|
7cad40e |
|
|
|
ebc36a4 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-13
|
|
|
ebc36a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ebc36a4 |
|
|
|
9980942 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-12
|
|
|
9980942 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
9980942 |
|
|
|
d0332ef |
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-11
|
|
|
d0332ef |
- Perl 5.34 rebuild
|
|
|
d0332ef |
|
|
|
0e28326 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-10
|
|
|
0e28326 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0e28326 |
|
|
|
37c9025 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-9
|
|
|
37c9025 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
37c9025 |
|
|
|
7df7d58 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-8
|
|
|
7df7d58 |
- Perl 5.32 rebuild
|
|
|
7df7d58 |
|
|
|
fd55df8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-7
|
|
|
fd55df8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fd55df8 |
|
|
|
c102d69 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-6
|
|
|
c102d69 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c102d69 |
|
|
|
acf5309 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-5
|
|
|
acf5309 |
- Perl 5.30 rebuild
|
|
|
acf5309 |
|
|
|
47c9386 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-4
|
|
|
47c9386 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
47c9386 |
|
|
|
6edf6b7 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-3
|
|
|
6edf6b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6edf6b7 |
|
|
|
eedaa5a |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-2
|
|
|
eedaa5a |
- Perl 5.28 rebuild
|
|
|
eedaa5a |
|
|
|
bbaafce |
* Wed Jun 13 2018 Petr Pisar <ppisar@redhat.com> 1.17-1
|
|
|
bbaafce |
- Specfile autogenerated by cpanspec 1.78.
|