Revert to using bundled Module::Install

- Revert to using bundled Module::Install to avoid build dependency cycles
  (#906007
This commit is contained in:
Paul Howarth 2013-02-05 15:15:32 +00:00
parent a2f0e01601
commit a7172818a7

View File

@ -1,14 +1,13 @@
Name: perl-Module-ScanDeps
Summary: Recursively scan Perl code for dependencies
Version: 1.10
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-%{version}.tar.gz
URL: http://search.cpan.org/dist/Module-ScanDeps/
BuildArch: noarch
BuildRequires: perl(inc::Module::Install) >= 1.00
# Run-time:
BuildRequires: perl(B)
BuildRequires: perl(Config)
@ -38,7 +37,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Requires: perl(Encode)
Requires: perl(File::Find)
%{?perl_default_filter}
%description
@ -48,9 +46,6 @@ Test/More.pm). The values are hash references.
%prep
%setup -q -n Module-ScanDeps-%{version}
# Remove bundled modules
rm -rf inc/*
sed -i '/^inc\//d' MANIFEST
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -72,6 +67,10 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Feb 5 2013 Paul Howarth <paul@city-fan.org> - 1.10-2
- Revert to using bundled Module::Install to avoid build dependency cycles
(#906007)
* Tue Oct 23 2012 Petr Pisar <ppisar@redhat.com> - 1.10-1
- 1.10 bump