[perl-DBD-Mock] 1.43 bump

Petr Pisar ppisar at fedoraproject.org
Wed Jan 25 14:37:32 UTC 2012


commit df73019ec400ab00559ef4003e80edffa0ea3244
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Jan 25 15:37:04 2012 +0100

    1.43 bump

 .gitignore         |    1 +
 perl-DBD-Mock.spec |   42 +++++++++++++++++++-----------------------
 sources            |    2 +-
 3 files changed, 21 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ad3460..1b1a595 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DBD-Mock-1.39.tar.gz
+/DBD-Mock-1.43.tar.gz
diff --git a/perl-DBD-Mock.spec b/perl-DBD-Mock.spec
index 344730c..28eb6e6 100644
--- a/perl-DBD-Mock.spec
+++ b/perl-DBD-Mock.spec
@@ -1,25 +1,27 @@
 Name:           perl-DBD-Mock
-Version:        1.39
-Release:        9%{?dist}
+Version:        1.43
+Release:        1%{?dist}
 Summary:        Mock database driver for testing
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DBD-Mock/
 Source0:        http://www.cpan.org/modules/by-module/DBD/DBD-Mock-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-# core
-BuildRequires:  perl >= 1:5.6.0
-BuildRequires:  perl(Test::More) >= 0.47
-# cpan
-BuildRequires:  perl(DBI) >= 1.3
 BuildRequires:  perl(Module::Build)
-# test
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+# Run-time
+BuildRequires:  perl(constant)
+BuildRequires:  perl(DBI) >= 1.3
+# Tests
+BuildRequires:  perl(Test::More) >= 0.47
+BuildRequires:  perl(Test::Exception) >= 0.31
+# Optional tests
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(DBI) >= 1.3
 
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(DBI\\)$
 
 %description
 Testing with databases can be tricky. If you are developing a system
@@ -36,33 +38,27 @@ in your framework.
 %prep
 %setup -q -n DBD-Mock-%{version}
 
-find t/ -type f -exec chmod -c -x {} +
-
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf %{buildroot}
-
 ./Build install destdir=%{buildroot} create_packlist=0
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 ./Build test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README t/
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 25 2012 Petr Pisar <ppisar at redhat.com> - 1.43-1
+- 1.43 bump
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.39-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 9e270fa..7f3cc27 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-90d2565fe573547d37e0fcee86679da5  DBD-Mock-1.39.tar.gz
+e7a43b6d20a5ab7f4f469e2dcc5ddc4e  DBD-Mock-1.43.tar.gz


More information about the scm-commits mailing list