From f28b83d62a8c44875c241409d49ca17bb3571bf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 14 Oct 2015 12:04:44 +0200
Subject: Specify all dependencies

---
 perl-XML-Generator-DBI.spec | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/perl-XML-Generator-DBI.spec b/perl-XML-Generator-DBI.spec
index 07dabb4..0987a95 100644
--- a/perl-XML-Generator-DBI.spec
+++ b/perl-XML-Generator-DBI.spec
@@ -1,6 +1,6 @@
 Name:           perl-XML-Generator-DBI
 Version:        1.00    
-Release:        24%{?dist}
+Release:        25%{?dist}
 Summary:        Generate SAX events from SQL queries
 
 Group:          Development/Libraries
@@ -10,13 +10,25 @@ Source0:        
http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Genera
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(XML::SAX)
-BuildRequires:  perl(XML::SAX::Writer)
-BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(strict)
+# Run-time:
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(XML::SAX::Base)
+# Tests:
+BuildRequires:  perl(constant)
 BuildRequires:  perl(DBI)
+BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
-
+# Optional tests:
+BuildRequires:  perl(DBD::SQLite) >= 0.27
+BuildRequires:  perl(XML::SAX)
+BuildRequires:  perl(XML::SAX::Writer)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 
@@ -57,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Oct 14 2015 Petr Pisar <ppi...@redhat.com> - 1.00-25
+- Specify all dependencies
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.00-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-XML-Generator-DBI.git/commit/?h=master&id=f28b83d62a8c44875c241409d49ca17bb3571bf6
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to