[perl-Test-Database] 1.113 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Nov 14 12:57:39 UTC 2014
commit 6cb0fd80e2ff042f2a5be8e25665631e81a03f6a
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Nov 14 13:57:18 2014 +0100
1.113 bump
.gitignore | 1 +
...OD-encoding-in-Test-Database-Driver-mysql.patch | 39 ----------
perl-Test-Database.spec | 74 +++++++++++---------
sources | 2 +-
4 files changed, 43 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 611267a..bddd8f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Test-Database-1.11.tar.gz
+/Test-Database-1.113.tar.gz
diff --git a/perl-Test-Database.spec b/perl-Test-Database.spec
index 83e5fab..40be420 100644
--- a/perl-Test-Database.spec
+++ b/perl-Test-Database.spec
@@ -1,67 +1,75 @@
Name: perl-Test-Database
-Version: 1.11
-Release: 10%{?dist}
+Version: 1.113
+Release: 1%{?dist}
Summary: Database handles ready for testing
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Database/
Source0: http://www.cpan.org/authors/id/B/BO/BOOK/Test-Database-%{version}.tar.gz
-# Fix POD encoding, CPAN RT#85198
-Patch0: Test-Database-1.11-Fix-POD-encoding-in-Test-Database-Driver-mysql.patch
BuildArch: noarch
-BuildRequires: perl >= 0:5.006
-BuildRequires: perl(DBD::SQLite)
-BuildRequires: perl(DBI) >= 1
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::HomeDir) >= 0.5
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Cwd)
+BuildRequires: perl(DBD::DBM)
+BuildRequires: perl(DBI)
+BuildRequires: perl(File::HomeDir)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
+BuildRequires: perl(version)
+BuildRequires: perl(YAML::Tiny) >= 1.62
+# Recommended run-time:
+# DBD::CSV 0.30 not used at tests
+BuildRequires: perl(DBD::SQLite) >= 1.27
+# Tests:
+BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(List::Util)
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Pod::Coverage)
-BuildRequires: perl(SQL::Statement)
-BuildRequires: perl(strict)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(version)
-BuildRequires: perl(warnings)
-BuildRequires: perl(YAML::Tiny) >= 1.27
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Pod::Coverage::TrustPod not used
+# SQL::Statement not needed
+# Test::CPAN::Meta not used
+BuildRequires: perl(Test::More) >= 0.88
+# Test::Pod 1.41 not used
+# Test::Pod::Coverage 1.08 not used
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(YAML::Tiny) >= 1.62
%{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(YAML::Tiny\\)$
%description
-Test::Database provides a simple way for test authors to request a test
-database, without worrying about environment variables or the test host
+Test::Database Perl module provides a simple way for test authors to request
+a test database, without worrying about environment variables or the test host
configuration.
%prep
%setup -q -n Test-Database-%{version}
-%patch0 -p1
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}/*
%check
-./Build test
+make test
%files
-%defattr(-,root,root,-)
-%doc Changes eg README
+%doc Changes eg LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Nov 14 2014 Petr Pisar <ppisar at redhat.com> - 1.113-1
+- 1.113 bump
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.11-10
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 44eb3a3..3da5eb0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a906c03c1eeb67de2092d193900df624 Test-Database-1.11.tar.gz
+87b2d76e27ddf20e8614511e20179e7f Test-Database-1.113.tar.gz
More information about the perl-devel
mailing list