|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-Hash-Merge
|
|
|
|
Name: perl-Hash-Merge
|
|
|
|
Version: 0.300
|
|
|
|
Version: 0.300
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Merges arbitrary deep hashes into a single hash
|
|
|
|
Summary: Merges arbitrary deep hashes into a single hash
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
@ -8,10 +8,26 @@ URL: http://search.cpan.org/dist/Hash-Merge/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Hash-Merge-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Hash-Merge-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Test::More), perl(Clone), perl(ExtUtils::MakeMaker), perl(Clone::Choose)
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Test::CPAN::Changes), perl(Test::CheckManifest), perl(Test::Pod)
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage), perl(Test::Pod::Spelling::CommonMistakes)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Run-time
|
|
|
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
BuildRequires: perl(Clone)
|
|
|
|
|
|
|
|
BuildRequires: perl(Clone::Choose) >= 0.008
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
|
|
|
# Tests
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
# Optional tests
|
|
|
|
|
|
|
|
BuildRequires: perl(Clone::PP)
|
|
|
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
# required but not detected automatically
|
|
|
|
# required but not detected automatically
|
|
|
|
Requires: perl(Clone)
|
|
|
|
Requires: perl(Clone)
|
|
|
@ -25,14 +41,11 @@ Requires: perl(Clone)
|
|
|
|
%setup -q -n Hash-Merge-%{version}
|
|
|
|
%setup -q -n Hash-Merge-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
chmod -x %{buildroot}%{perl_vendorlib}/Hash/Merge.pm
|
|
|
|
chmod -x %{buildroot}%{perl_vendorlib}/Hash/Merge.pm
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
@ -40,13 +53,15 @@ chmod -x %{buildroot}%{perl_vendorlib}/Hash/Merge.pm
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc Changes README.md
|
|
|
|
%doc Changes README.md
|
|
|
|
%{perl_vendorlib}/Hash/
|
|
|
|
%{perl_vendorlib}/Hash/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 17 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.300-2
|
|
|
|
|
|
|
|
- Specify all dependencies; Modernize spec file
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 14 2018 Tom Callaway <spot@fedoraproject.org> - 0.300-1
|
|
|
|
* Wed Mar 14 2018 Tom Callaway <spot@fedoraproject.org> - 0.300-1
|
|
|
|
- update to 0.300
|
|
|
|
- update to 0.300
|
|
|
|
|
|
|
|
|
|
|
|