[perl-DBI] 810370 apply Paul's bootstrap macro

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Apr 6 12:46:57 UTC 2012


commit 45ecf9bcd9c1ed3f68492966cb1b552990cd7836
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Fri Apr 6 14:46:47 2012 +0200

    810370 apply Paul's bootstrap macro

 perl-DBI.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-DBI.spec b/perl-DBI.spec
index 0dc2f0c..a0f90c7 100644
--- a/perl-DBI.spec
+++ b/perl-DBI.spec
@@ -1,6 +1,6 @@
 Name:           perl-DBI
 Version:        1.618
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A database access API for perl
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -38,8 +38,10 @@ BuildRequires:  perl(RPC::PlClient) >= 0.2000
 # RPC::PlServer is optional
 BuildRequires:  perl(RPC::PlServer)
 BuildRequires:  perl(Scalar::Util)
-# SQL::Statement is optional
+# SQL::Statement is optional, and it requires DBI
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(SQL::Statement) >= 1.28
+%endif
 BuildRequires:  perl(Storable)
 BuildRequires:  perl(Symbol)
 BuildRequires:  perl(threads)
@@ -109,6 +111,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Apr  6 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.618-3
+- 810370 apply Paul's bootstrap macro
+
 * Mon Feb 27 2012 Petr Pisar <ppisar at redhat.com> - 1.618-2
 - Build-require optional Test::Pod::Coverage
 


More information about the scm-commits mailing list