Specify all dependencies

This commit is contained in:
Petr Písař 2013-09-16 08:58:11 +02:00
parent 65aeb08425
commit f401a79255

View File

@ -3,7 +3,7 @@
Name: perl-%{cpan_name}
Version: %(echo '%{cpan_version}' | tr _ .)
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Create a module Makefile
License: GPL+ or Artistic
Group: Development/Libraries
@ -34,6 +34,7 @@ BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(AutoSplit)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(ExtUtils::Command)
BuildRequires: perl(ExtUtils::Install)
BuildRequires: perl(ExtUtils::Installed)
@ -45,20 +46,32 @@ BuildRequires: perl(IO::File)
BuildRequires: perl(less)
BuildRequires: perl(Parse::CPAN::Meta)
BuildRequires: perl(Pod::Man)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More)
BuildRequires: perl(version)
# Optional tests
BuildRequires: perl(ExtUtils::CBuilder)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# CPAN::Meta is optional
Requires: perl(Data::Dumper)
Requires: perl(DynaLoader)
Requires: perl(ExtUtils::Command)
Requires: perl(ExtUtils::Install)
Requires: perl(ExtUtils::Manifest)
# ExtUtils::XSSymSet is not needed (VMS only)
Requires: perl(File::Find)
Requires: perl(File::Spec) >= 0.8
Requires: perl(Getopt::Long)
Requires: perl(Test::Harness)
# Optional run-time needed for generating documentation from POD:
# Optional Pod::Man is needed for generating manual pages from POD
Requires: perl(Pod::Man)
Requires: perl(POSIX)
Requires: perl(Test::Harness)
# Time::HiRes is optional
# Text::ParseWords is not needed (Win32 only)
Requires: perl(version)
# VMS::Filespec is not needed (VMS only)
# Win32 is not needed (Win32 only)
# Do not export underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$
@ -98,6 +111,9 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Sep 16 2013 Petr Pisar <ppisar@redhat.com> - 6.76-2
- Specify all dependencies (bug #1007755)
* Tue Sep 10 2013 Petr Pisar <ppisar@redhat.com> - 6.76-1
- 6.76 bump