[perl-SVG-Graph] Specify all dependencies

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

 



commit d1abe3e2639e090a187de9d6eafe452c5ed71bb0
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jun 13 15:34:30 2012 +0200

    Specify all dependencies

 perl-SVG-Graph.spec |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/perl-SVG-Graph.spec b/perl-SVG-Graph.spec
index a282934..523897d 100644
--- a/perl-SVG-Graph.spec
+++ b/perl-SVG-Graph.spec
@@ -10,13 +10,23 @@ Source1:        LICENSE.fedora
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(SVG) >= 2.27
+# Run-time
+BuildRequires:  perl(base)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Math::Spline)
 BuildRequires:  perl(Statistics::Descriptive) >= 2.6
+BuildRequires:  perl(SVG) >= 2.27
 BuildRequires:  perl(Tree::DAG_Node) >= 1.04
-BuildRequires:  perl(Math::Derivative)
-BuildRequires:  perl(Math::Spline)
+# Tests
+BuildRequires:  perl(Test)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Tree::DAG_Node)
+Requires:       perl(Statistics::Descriptive) >= 2.6
+Requires:       perl(SVG) >= 2.27
+Requires:       perl(Tree::DAG_Node) >= 1.04
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Statistics::Descriptive|SVG|Tree::DAG_Node)\\)$
 
 %description
 SVG::Graph is a suite of perl modules for plotting data. SVG::Graph
@@ -60,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Jun 13 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.02-10
 - Perl 5.16 rebuild
+- Specify all dependencies
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.02-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_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