Add a few missing deps
This commit is contained in:
parent
dc7833fc34
commit
a4175a89d7
@ -5,7 +5,7 @@
|
||||
Name: perl-Module-Build
|
||||
Epoch: 2
|
||||
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Build and install Perl modules
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -14,6 +14,8 @@ Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{cpan_ve
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(Archive::Tar)
|
||||
BuildRequires: perl(AutoSplit)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.110420
|
||||
@ -24,8 +26,10 @@ BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
BuildRequires: perl(ExtUtils::Install) >= 0.3
|
||||
BuildRequires: perl(ExtUtils::Installed)
|
||||
BuildRequires: perl(ExtUtils::Manifest) >= 1.54
|
||||
BuildRequires: perl(ExtUtils::Mkbootstrap)
|
||||
BuildRequires: perl(ExtUtils::Packlist)
|
||||
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Compare)
|
||||
@ -34,6 +38,7 @@ BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::ShareDir)
|
||||
BuildRequires: perl(File::Spec) >= 0.82
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(File::Temp) >= 0.15
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(IO::File)
|
||||
@ -53,7 +58,8 @@ BuildRequires: perl(Pod::Readme)
|
||||
BuildRequires: perl(Test::Harness) >= 3.16
|
||||
BuildRequires: perl(Test::More) >= 0.49
|
||||
BuildRequires: perl(version) >= 0.87
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(YAML::Tiny)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(CPAN::Meta) >= 2.110420
|
||||
Requires: perl(CPAN::Meta::YAML) >= 0.003
|
||||
Requires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
@ -86,13 +92,13 @@ works fine on perl 5.005 if you can install a few additional modules.
|
||||
%setup -q -n Module-Build-%{cpan_version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
rm t/signature.t
|
||||
@ -106,6 +112,10 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 21 2012 Petr Šabata <contyk@redhat.com> - 2:0.40.03-3
|
||||
- Add a few missing deps
|
||||
- Drop command macros
|
||||
|
||||
* Mon Sep 03 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.03-2
|
||||
- Do not build-require Module::Build (bug #849328)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user