From c7eae7bd30383cb7530b0233359534d1c4cdb0a8 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 02:13:13 +0300 Subject: [PATCH] import perl-DBM-Deep-2.0016-13.el9 --- .gitignore | 1 + .perl-DBM-Deep.metadata | 1 + SOURCES/DBM-Deep-2.0016-Module-Build.patch | 26 ++ SPECS/perl-DBM-Deep.spec | 300 +++++++++++++++++++++ 4 files changed, 328 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-DBM-Deep.metadata create mode 100644 SOURCES/DBM-Deep-2.0016-Module-Build.patch create mode 100644 SPECS/perl-DBM-Deep.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c519dd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/DBM-Deep-2.0016.tar.gz diff --git a/.perl-DBM-Deep.metadata b/.perl-DBM-Deep.metadata new file mode 100644 index 0000000..c58e781 --- /dev/null +++ b/.perl-DBM-Deep.metadata @@ -0,0 +1 @@ +71c41588829aa5bb9c5fbd7ddc3e4ff229c6d783 SOURCES/DBM-Deep-2.0016.tar.gz diff --git a/SOURCES/DBM-Deep-2.0016-Module-Build.patch b/SOURCES/DBM-Deep-2.0016-Module-Build.patch new file mode 100644 index 0000000..b75df9c --- /dev/null +++ b/SOURCES/DBM-Deep-2.0016-Module-Build.patch @@ -0,0 +1,26 @@ +From 7e17039909b092e10d031ecebbd724d08a4307c3 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Tue, 14 Jan 2014 06:55:43 +0100 +Subject: [PATCH] Lower the Module::Build version requirement + +It seems to be hardcoded for no good reason. +--- + META.yml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/META.yml b/META.yml +index 44e1983..0807c43 100644 +--- a/META.yml ++++ b/META.yml +@@ -11,7 +11,7 @@ build_requires: + Test::More: '0.88' + Test::Warn: '0.08' + configure_requires: +- Module::Build: '0.42' ++ Module::Build: '0.40' + dynamic_config: 1 + generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 2.150005' + license: perl +-- +1.8.4.2 + diff --git a/SPECS/perl-DBM-Deep.spec b/SPECS/perl-DBM-Deep.spec new file mode 100644 index 0000000..d2612ad --- /dev/null +++ b/SPECS/perl-DBM-Deep.spec @@ -0,0 +1,300 @@ +Name: perl-DBM-Deep +Version: 2.0016 +Release: 13%{?dist} +Summary: A pure perl multi-level hash/array DBM +License: GPL+ or Artistic +URL: https://metacpan.org/release/DBM-Deep +Source0: https://cpan.metacpan.org/authors/id/S/SP/SPROUT/DBM-Deep-%{version}.tar.gz +Patch0: DBM-Deep-2.0016-Module-Build.patch +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) >= 0.40 +# Module Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DBI) >= 1.5 +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Fcntl) +BuildRequires: perl(Hash::Util::FieldHash) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(blib) +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Warn) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +# Optional Tests +BuildRequires: perl(DBD::SQLite) >= 1.25 +BuildRequires: perl(FileHandle::Fmode) +BuildRequires: perl(Pod::Simple) +BuildRequires: perl(Pod::Usage) >= 1.3 +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Data::Dumper) +Requires: perl(Digest::MD5) +Requires: perl(Hash::Util::FieldHash) + +%description +A unique flat-file database module, written in pure perl. True multi-level +hash/array support (unlike MLDBM, which is faked), hybrid OO / tie() +interface, cross-platform FTPable files, and quite fast. Can handle +millions of keys and unlimited hash levels without significant slow-down. +Written from the ground-up in pure perl - this is NOT a wrapper around a +C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and Windows. + +%prep +%setup -q -n DBM-Deep-%{version} + +# Relax Module::Build version requirement for EPEL7 build +%patch0 -p1 + +%build +perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} -c %{buildroot} + +%check +LONG_TESTS=1 TEST_SQLITE=1 ./Build test + +%files +%doc Changes README +%{perl_vendorlib}/DBM/ +%{_mandir}/man3/DBM::Deep.3* +%{_mandir}/man3/DBM::Deep::ConfigData.3* +%{_mandir}/man3/DBM::Deep::Cookbook.3* +%{_mandir}/man3/DBM::Deep::Engine.3* +%{_mandir}/man3/DBM::Deep::Engine::File.3* +%{_mandir}/man3/DBM::Deep::Internals.3* +%{_mandir}/man3/DBM::Deep::Iterator.3* +%{_mandir}/man3/DBM::Deep::Iterator::File::BucketList.3* +%{_mandir}/man3/DBM::Deep::Iterator::File::Index.3* +%{_mandir}/man3/DBM::Deep::Null.3* +%{_mandir}/man3/DBM::Deep::Storage.3* +%{_mandir}/man3/DBM::Deep::Storage::File.3* + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 2.0016-13 +- Rebuilt for MSVSphere 9.3 + +* Sun Dec 19 2021 Paul Howarth - 2.0016-13 +- Additional test deps: perl(blib) and perl(FileHandle::Fmode) for EPEL + +* Thu Jul 22 2021 Fedora Release Engineering - 2.0016-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 2.0016-11 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0016-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.0016-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 2.0016-8 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 2.0016-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0016-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 2.0016-5 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.0016-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.0016-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 2.0016-2 +- Perl 5.28 rebuild + +* Mon May 21 2018 Paul Howarth - 2.0016-1 +- Update to 2.0016 + - Fix for tests failing on 5.28 +- Switch upstream from search.cpan.org to metacpan.org + +* Thu Feb 08 2018 Fedora Release Engineering - 2.0014-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jul 28 2017 Paul Howarth - 2.0014-1 +- Update to 2.0014 + - Fix for tests failing on 5.26 +- Drop explicit buildroot cleaning in %%install section +- BR: perl-interpreter rather than perl + +* Thu Jul 27 2017 Fedora Release Engineering - 2.0013-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 2.0013-5 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.0013-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 2.0013-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.0013-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Jan 2 2016 Paul Howarth - 2.0013-1 +- Update to 2.0013 + - Documentation updates (GH#14, GH#15, GH#16) + +* Wed Jun 17 2015 Paul Howarth - 2.0012-1 +- Update to 2.0012 + - Improved transaction validation and warnings (GH#12) +- Classify buildreqs by usage +- Use Hash::Util::FieldHash +- Enumerate manpages in %%files list + +* Fri Jun 05 2015 Jitka Plesnikova - 2.0011-4.1 +- Perl 5.22 rebuild + +* Thu Aug 28 2014 Jitka Plesnikova - 2.0011-3.1 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.0011-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Jan 14 2014 Lubomir Rintel - 2.0011-1.1 +- Fix epel7 build + +* Mon Jan 13 2014 Paul Howarth - 2.0011-1 +- Update to 2.0011 + - Pod fixes + +* Tue Nov 12 2013 Paul Howarth - 2.0010-1 +- Update to 2.0010 + - Can push undefined values onto arrays +- Drop upstreamed POD patch + +* Sat Aug 03 2013 Fedora Release Engineering - 2.0009-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Petr Pisar - 2.0009-2 +- Perl 5.18 rebuild + +* Mon Jul 1 2013 Paul Howarth - 2.0009-1 +- Update to 2.0009 + - Fix for pushing non-true values in DBM::Deep::Array (CPAN RT#85414) +- This release by RKINYON -> update source URL +- Add patch to fix broken POD (CPAN RT#85252) + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0008-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 2.0008-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Petr Pisar - 2.0008-2 +- Perl 5.16 rebuild + +* Mon Jun 18 2012 Paul Howarth - 2.0008-1 +- Update to 2.0008 (#832921) + - Arrays and hashes retrieved from a database no longer create circular + references (CPAN RT#77746) +- Don't use macros for commands + +* Sun Jun 17 2012 Petr Pisar - 2.0007-2 +- Perl 5.16 rebuild + +* Mon May 28 2012 Paul Howarth - 2.0007-1 +- Update to 2.0007 + - Include one-line descriptions of each POD page after the name + (CPAN RT#76378) + - t/98_pod.t: skip tests if Pod::Simple 3.21 is installed (CPAN RT#77419) +- BR: perl(Pod::Simple) + +* Fri May 18 2012 Petr Pisar - 2.0006-2 +- Do not build-require FileHandle::Fmode on RHEL ≥ 7 (#822885) + +* Mon Apr 2 2012 Paul Howarth - 2.0006-1 +- Update to 2.0006 + - Try harder to get t/27_filehandle.t to work under TB2; the extra + 'TAP version 13' line was causing a TAP parse error + +* Mon Mar 26 2012 Paul Howarth - 2.0005-1 +- Update to 2.0005 (t/27_filehandle.t has been fixed again; it no longer + violates Test::Builder's encapsulation) +- BR/R: perl(Carp) and perl(Data::Dumper) +- Add buildreqs for module and support utilities: perl ≥ 5.8.4, perl(base), + perl(constant), perl(DBI), perl(FileHandle::Fmode) and perl(Pod::Usage) ≥ 1.3 +- Add buildreqs for additional test coverage: perl(DBD::SQLite), + perl(Exporter), perl(Test::Pod) and perl(Test::Pod::Coverage) +- Run LONG_TESTS and SQLite tests too +- Don't need to remove empty directories from the buildroot +- Make %%files list more explicit +- Use %%{_fixperms} macro rather than our own chmod incantation + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0004-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 09 2011 Iain Arnell 2.0004-2 +- R/BR perl(Digest::MD5) + +* Tue Jun 21 2011 Marcela Mašláňová - 2.0004-1 +- update to 2.004 +- clean spec, add BR Test::Deep, Test::Warn + +* Tue Jun 21 2011 Marcela Mašláňová - 0.983-12 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.983-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.983-10 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 0.983-9 +- Mass rebuild with perl-5.12.0 + +* Fri Apr 30 2010 Marcela Maslanova - 0.983-7 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.983-6 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.983-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.983-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Mar 04 2008 Tom "spot" Callaway - 0.983-3 +- rebuild for new perl + +* Fri Sep 08 2006 Andreas Thienemann - 0.983-2 +- FE6 Rebuild + +* Thu Apr 27 2006 Andreas Thienemann 0.983-1 +- Specfile autogenerated by cpanspec 1.64. +- Cleaned up for FE