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