[perl-XML-DOM-XPath] Specify all dependencies

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

 



commit d6cebb55b4287f8aafe890a6114b3d499a32e3ec
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Nov 28 14:00:38 2014 +0100

    Specify all dependencies

 perl-XML-DOM-XPath.spec |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/perl-XML-DOM-XPath.spec b/perl-XML-DOM-XPath.spec
index 06de2a1..3c6b790 100644
--- a/perl-XML-DOM-XPath.spec
+++ b/perl-XML-DOM-XPath.spec
@@ -1,6 +1,6 @@
 Name:           perl-XML-DOM-XPath
 Version:        0.14
-Release:        18%{?dist}
+Release:        19%{?dist}
 Summary:        Perl extension to add XPath support to XML::DOM, using XML::XPath engine
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,18 +8,31 @@ URL:            http://search.cpan.org/dist/XML-DOM-XPath/
 Source0:        http://www.cpan.org/modules/by-module/XML/XML-DOM-XPath-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XML::DOM)
+BuildRequires:  perl(XML::XPathEngine) >= 0.10
+# Tests:
+BuildRequires:  perl(encoding)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
+# Optional tests:
+BuildRequires:  perl(XML::XPath)
 BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
-BuildRequires:  perl(XML::DOM)
-BuildRequires:  perl(XML::XPathEngine) >= 0.10
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(warnings)
+Requires:       perl(XML::XPathEngine) >= 0.10
 
 # Remove provides which clash with symbols from perl-XML-DOM
 %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(XML::DOM::(Attr|Comment|Document)\\)
 %global __provides_exclude %__provides_exclude|perl\\(XML::DOM::(Element|Namespace|Node|ProcessingInstruction|Text)\\)
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::XPathEngine\\)$
 
 
 %description
@@ -56,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 28 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.14-19
+- Specify all dependencies (bug #1168883)
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.14-18
 - Perl 5.20 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