From 96922a5e52c98f9632c6de96ee5a3f53043587cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 30 Apr 2015 15:26:47 +0200 Subject: [PATCH] 1.15 bump - Correct source URL - Rewrite the dep list - Drop the currently unused AUTOMATED_TESTING again --- .gitignore | 1 + perl-Module-Install.spec | 102 ++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 70 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 311193b..f18511c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Module-Install-0.95.tar.gz /Module-Install-1.06.tar.gz /Module-Install-1.10.tar.gz /Module-Install-1.14.tar.gz +/Module-Install-1.15.tar.gz diff --git a/perl-Module-Install.spec b/perl-Module-Install.spec index 440f241..4e30d53 100644 --- a/perl-Module-Install.spec +++ b/perl-Module-Install.spec @@ -1,64 +1,93 @@ Name: perl-Module-Install -Version: 1.14 +Version: 1.15 Release: 1%{?dist} Summary: Standalone, extensible Perl module installer License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Module-Install/ -Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Install-%{version}.tar.gz BuildArch: noarch +# Build BuildRequires: perl -BuildRequires: perl(autodie) -BuildRequires: perl(Carp) BuildRequires: perl(Config) -BuildRequires: perl(CPAN) -BuildRequires: perl(CPANPLUS::Backend) BuildRequires: perl(Cwd) -BuildRequires: perl(Devel::PPPort) >= 3.16 -BuildRequires: perl(ExtUtils::Install) >= 1.52 -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 -BuildRequires: perl(ExtUtils::Manifest) -BuildRequires: perl(ExtUtils::MM) -BuildRequires: perl(ExtUtils::ParseXS) >= 2.19 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(Fcntl) -BuildRequires: perl(File::Basename) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Runtime +# XXX: BuildRequires: perl(Archive::Zip) >= 1.37 +# XXX: BuildRequires: perl(Carp) +# XXX: BuildRequires: perl(CPAN) +# XXX: BuildRequires: perl(CPANPLUS::Backend) +BuildRequires: perl(Devel::PPPort) >= 3.16 +BuildRequires: perl(ExtUtils::Manifest) +# XXX: BuildRequires: perl(ExtUtils::MM_Cygwin) +# XXX: BuildRequires: perl(ExtUtils::MM_Win32) +BuildRequires: perl(File::Basename) +# XXX: BuildRequires: perl(File::HomeDir) >= 1 BuildRequires: perl(File::Remove) >= 1.42 BuildRequires: perl(File::Spec) >= 3.28 BuildRequires: perl(File::Temp) -BuildRequires: perl(JSON) >= 2.9 -BuildRequires: perl(lib) -BuildRequires: perl(LWP::UserAgent) >= 6.05 -BuildRequires: perl(Module::Build) >= 0.29 -BuildRequires: perl(Module::CoreList) >= 2.17 -BuildRequires: perl(Module::ScanDeps) >= 1.09 -BuildRequires: perl(PAR::Dist) >= 0.29 +BuildRequires: perl(FileHandle) +BuildRequires: perl(FindBin) +# XXX: BuildRequires: perl(JSON) >= 2.9 +# XXX: BuildRequires: perl(LWP::Simple) >= 6.00 +# XXX: BuildRequires: perl(Module::Build) >= 0.29 +# XXX: BuildRequires: perl(Module::CoreList) >= 2.17 +# XXX: BuildRequires: perl(Module::ScanDeps) >= 1.09 +# XXX: BuildRequires: perl(Net::FTP) +# XXX: BuildRequires: perl(PAR::Dist) >= 0.29 BuildRequires: perl(Parse::CPAN::Meta) >= 1.4413 -BuildRequires: perl(strict) -BuildRequires: perl(Test::Harness) >= 3.13 -BuildRequires: perl(Test::More) >= 0.86 -BuildRequires: perl(vars) -BuildRequires: perl(warnings) +# XXX: BuildRequires: perl(Socket) BuildRequires: perl(YAML::Tiny) >= 1.38 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Tests only +BuildRequires: perl(autodie) +BuildRequires: perl(ExtUtils::MM) +BuildRequires: perl(Symbol) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +# Optional tests only +BuildRequires: perl(Module::Install::AuthorTests) +BuildRequires: perl(Module::Install::ExtraTests) >= 0.007 +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Archive::Zip) >= 1.37 Requires: perl(Carp) Requires: perl(CPAN) Requires: perl(CPANPLUS::Backend) Requires: perl(Devel::PPPort) >= 3.16 Requires: perl(ExtUtils::MakeMaker) >= 6.59 -Requires: perl(ExtUtils::ParseXS) >= 2.19 +# Unused: Requires: perl(ExtUtils::MM_Cygwin) +Requires: perl(ExtUtils::MM_Unix) +# Unused: Requires: perl(ExtUtils::MM_Win32) +# Unneeded: Requires: perl(File::HomeDir) >= 1 Requires: perl(File::Remove) >= 1.42 Requires: perl(File::Spec) >= 3.28 +Requires: perl(File::Temp) +Requires: perl(FileHandle) +Requires: perl(FindBin) +# Optional: Requires: perl(JSON) >= 2.9 +# Optional: Requires: perl(LWP::Simple) >= 6.00 Requires: perl(Module::Build) >= 0.29 Requires: perl(Module::CoreList) >= 2.17 Requires: perl(Module::ScanDeps) >= 1.09 -Requires: perl(PAR::Dist) >= 0.29 +# Optional: Requires: perl(Net::FTP) +# Optional: Requires: perl(PAR::Dist) >= 0.29 Requires: perl(Parse::CPAN::Meta) >= 1.4413 +Requires: perl(Socket) Requires: perl(YAML::Tiny) >= 1.38 -# Remove under-specified dependencies -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Devel::PPPort|ExtUtils::MakeMaker|File::Remove|File::Spec|YAML::Tiny)\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::PPPort\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(ExtUtils::MakeMaker\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Remove\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Spec\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(YAML::Tiny\\)$ + %description Module::Install is a package for writing installers for CPAN (or CPAN-like) @@ -70,17 +99,16 @@ version 5.005 or newer. %setup -q -n Module-Install-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -rm -rf %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt +rm -f %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt %{_fixperms} %{buildroot}/* %check -make test AUTOMATED_TESTING=1 +make test %files %doc Changes README @@ -88,6 +116,12 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Thu Apr 30 2015 Petr Ĺ abata - 1.15-1 +- 1.15 bump +- Correct source URL +- Rewrite the dep list +- Drop the currently unused AUTOMATED_TESTING again + * Wed Oct 29 2014 Petr Pisar - 1.14-1 - 1.14 bump diff --git a/sources b/sources index f2bb1f5..6137e05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9723cc287ee48a27c8fddcc3c9d9f907 Module-Install-1.14.tar.gz +0c34c877c9cbff7711eaba3d650f3566 Module-Install-1.15.tar.gz