[perl-Ima-DBI] Specify all dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 68da6d29220de95d0e9763270538be02527e2b0f
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Feb 26 16:25:50 2013 +0100

    Specify all dependencies

 perl-Ima-DBI.spec |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/perl-Ima-DBI.spec b/perl-Ima-DBI.spec
index fa528aa..67f3462 100644
--- a/perl-Ima-DBI.spec
+++ b/perl-Ima-DBI.spec
@@ -4,21 +4,31 @@ Release:        16%{?dist}
 Summary:        Database connection caching and organization
 Group:          Development/Libraries
 License:        GPL+ or Artistic
-URL:            http://search.cpan.org/dist/Ima-DBI
+URL:            http://search.cpan.org/dist/Ima-DBI/
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PERRIN/Ima-DBI-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl(Class::Data::Inheritable) 
-# No longer needed as of 0.34
-# BuildRequires:  perl(Class::WhiteHole)
-BuildRequires:  perl(DBIx::ContextualFetch)
-BuildRequires:  perl(Test::More)
-Requires:  perl(Class::Data::Inheritable)
-# No longer needed as of 0.34
-# Requires: perl(Class::WhiteHole) 
-Requires:  perl(DBIx::ContextualFetch)
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Data::Inheritable) >= 0.02
+BuildRequires:  perl(DBI) >= 1.2
+BuildRequires:  perl(DBIx::ContextualFetch) >= 1
+BuildRequires:  perl(strict)
+# Tests:
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Test::More) >= 0.18
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:  perl(Carp)
+Requires:  perl(Class::Data::Inheritable) >= 0.02
+Requires:  perl(DBI) >= 1.2
+Requires:  perl(DBIx::ContextualFetch) >= 0.02
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::Data::Inheritable|DBI)\\)
 
 %description
 %{summary}.
@@ -53,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.35-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+- Specify all dependencies
 
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.35-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux