pghmcfc pushed to perl-DBM-Deep (perl-DBM-Deep-2.0012-1.fc23). "Update to 2.0012 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 17 22:00:41 UTC 2015


From a5346475012f9c6a1418dd0b07f270a742410adf Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Wed, 17 Jun 2015 19:30:59 +0100
Subject: Update to 2.0012

- New upstream release 2.0012
  - Improved transaction validation and warnings (GH#12)
- Classify buildreqs by usage
- Use Hash::Util::FieldHash
- Enumerate manpages in %files list

diff --git a/perl-DBM-Deep-2.0011-Module-Build.patch b/perl-DBM-Deep-2.0011-Module-Build.patch
deleted file mode 100644
index 779fd80..0000000
--- a/perl-DBM-Deep-2.0011-Module-Build.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 7e17039909b092e10d031ecebbd724d08a4307c3 Mon Sep 17 00:00:00 2001
-From: Lubomir Rintel <lkundrak at v3.sk>
-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.4203, CPAN::Meta::Converter version 2.120351'
- license: perl
--- 
-1.8.4.2
-
diff --git a/perl-DBM-Deep-2.0012-Module-Build.patch b/perl-DBM-Deep-2.0012-Module-Build.patch
new file mode 100644
index 0000000..42fbcf5
--- /dev/null
+++ b/perl-DBM-Deep-2.0012-Module-Build.patch
@@ -0,0 +1,26 @@
+From 7e17039909b092e10d031ecebbd724d08a4307c3 Mon Sep 17 00:00:00 2001
+From: Lubomir Rintel <lkundrak at v3.sk>
+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.4214, CPAN::Meta::Converter version 2.150001'
+ license: perl
+-- 
+1.8.4.2
+
diff --git a/perl-DBM-Deep.spec b/perl-DBM-Deep.spec
index e08deb4..0da959e 100644
--- a/perl-DBM-Deep.spec
+++ b/perl-DBM-Deep.spec
@@ -1,61 +1,80 @@
 Name:           perl-DBM-Deep
-Version:        2.0011
-Release:        4%{?dist}.1
+Version:        2.0012
+Release:        1%{?dist}
 Summary:        A pure perl multi-level hash/array DBM
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DBM-Deep/
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/DBM-Deep-%{version}.tar.gz
-Patch0:         perl-DBM-Deep-2.0011-Module-Build.patch
+Patch0:         perl-DBM-Deep-2.0012-Module-Build.patch
 BuildArch:      noarch
+# Module Build
 BuildRequires:  perl >= 3:5.8.4
+BuildRequires:  perl(Module::Build) >= 0.40
+# Module Runtime
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(DBD::SQLite)
-BuildRequires:  perl(DBI)
+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(Config)
 BuildRequires:  perl(Exporter)
-# Package in RHEL cannot BR: package in EPEL
+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
+# No FileHandle::Fmode currently in EPEL
 %if ! (0%{?rhel} >= 7)
 BuildRequires:  perl(FileHandle::Fmode)
 %endif
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Pod::Simple)
 BuildRequires:  perl(Pod::Usage) >= 1.3
-BuildRequires:  perl(Test::Deep)
-BuildRequires:  perl(Test::Exception)
-BuildRequires:  perl(Test::Warn)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-
-# not automatically detected
 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
+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
-export PERL_MM_USE_DEFAULT=1
-perl Build.PL installdirs=vendor 
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
 rm -rf %{buildroot}
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
@@ -64,9 +83,27 @@ LONG_TESTS=1 TEST_SQLITE=1 ./Build test
 %files
 %doc Changes README
 %{perl_vendorlib}/DBM/
-%{_mandir}/man3/DBM::Deep*
+%{_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 Jun 17 2015 Paul Howarth <paul at city-fan.org> - 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 <jplesnik at redhat.com> - 2.0011-4.1
 - Perl 5.22 rebuild
 
diff --git a/sources b/sources
index 28ce8d3..605a5c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-831b65e724f7590516a8c11814b97572  DBM-Deep-2.0011.tar.gz
+da911dada2c978ea6bd4d1bac4b4ba46  DBM-Deep-2.0012.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-DBM-Deep.git/commit/?h=perl-DBM-Deep-2.0012-1.fc23&id=a5346475012f9c6a1418dd0b07f270a742410adf


More information about the perl-devel mailing list