[perl-DateTime-Format-W3CDTF] Specify all dependencies

Petr Pisar ppisar at fedoraproject.org
Tue Feb 26 14:47:06 UTC 2013


commit 2ba06881923a345d6c1285ad2f17c6853c5a9ad7
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Feb 26 15:45:12 2013 +0100

    Specify all dependencies

 perl-DateTime-Format-W3CDTF.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/perl-DateTime-Format-W3CDTF.spec b/perl-DateTime-Format-W3CDTF.spec
index 1618dc1..995b71b 100644
--- a/perl-DateTime-Format-W3CDTF.spec
+++ b/perl-DateTime-Format-W3CDTF.spec
@@ -7,9 +7,16 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime-Format-W3CDTF/
 Source0:        http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(inc::Module::Install)
+# Run-time:
 BuildRequires:  perl(DateTime)
 BuildRequires:  perl(DateTime::TimeZone)
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.61
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -19,6 +26,8 @@ date format of RSS 1.0.
 
 %prep
 %setup -q -n DateTime-Format-W3CDTF-%{version}
+rm -rf inc/*
+sed -i -e '/^inc\//d' MANIFEST
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -42,6 +51,7 @@ make test
 %changelog
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+- Specify all dependencies
 
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list