Blame SPECS/perl-Module-Install.spec

43b2e0
Name:           perl-Module-Install
43b2e0
Version:        1.19
43b2e0
Release:        2%{?dist}
43b2e0
Summary:        Standalone, extensible Perl module installer
43b2e0
License:        GPL+ or Artistic
43b2e0
URL:            http://search.cpan.org/dist/Module-Install/
43b2e0
Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Install-%{version}.tar.gz
43b2e0
BuildArch:      noarch
43b2e0
# Build
43b2e0
BuildRequires:  coreutils
43b2e0
BuildRequires:  make
43b2e0
BuildRequires:  perl-generators
43b2e0
BuildRequires:  perl-interpreter
43b2e0
BuildRequires:  perl(lib)
43b2e0
BuildRequires:  perl(strict)
43b2e0
BuildRequires:  perl(warnings)
43b2e0
# Runtime
43b2e0
# XXX: BuildRequires:  perl(Archive::Zip) >= 1.37
43b2e0
# XXX: BuildRequires:  perl(Carp)
43b2e0
# XXX: BuildRequires:  perl(CPAN)
43b2e0
# XXX: BuildRequires:  perl(CPANPLUS::Backend)
43b2e0
BuildRequires:  perl(Config)
43b2e0
BuildRequires:  perl(Cwd)
43b2e0
BuildRequires:  perl(Devel::PPPort) >= 3.16
43b2e0
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
43b2e0
BuildRequires:  perl(ExtUtils::Manifest)
43b2e0
BuildRequires:  perl(ExtUtils::MM_Unix)
43b2e0
# XXX: BuildRequires:  perl(ExtUtils::MM_Cygwin)
43b2e0
# XXX: BuildRequires:  perl(ExtUtils::MM_Win32)
43b2e0
BuildRequires:  perl(Fcntl)
43b2e0
BuildRequires:  perl(File::Basename)
43b2e0
BuildRequires:  perl(File::Find)
43b2e0
# XXX: BuildRequires:  perl(File::HomeDir) >= 1
43b2e0
BuildRequires:  perl(File::Path)
43b2e0
BuildRequires:  perl(File::Remove) >= 1.42
43b2e0
BuildRequires:  perl(File::Spec) >= 3.28
43b2e0
BuildRequires:  perl(File::Temp)
43b2e0
BuildRequires:  perl(FileHandle)
43b2e0
BuildRequires:  perl(FindBin)
43b2e0
# XXX: BuildRequires:  perl(JSON) >= 2.9
43b2e0
# XXX: BuildRequires:  perl(LWP::Simple) >= 6.00
43b2e0
# XXX: BuildRequires:  perl(Module::Build) >= 0.29
43b2e0
BuildRequires:  perl(Module::CoreList) >= 2.17
43b2e0
# XXX: BuildRequires:  perl(Module::ScanDeps) >= 1.09
43b2e0
# XXX: BuildRequires:  perl(Net::FTP)
43b2e0
# XXX: BuildRequires:  perl(PAR::Dist) >= 0.29
43b2e0
BuildRequires:  perl(Parse::CPAN::Meta) >= 1.4413
43b2e0
# XXX: BuildRequires:  perl(Socket)
43b2e0
BuildRequires:  perl(vars)
43b2e0
BuildRequires:  perl(YAML::Tiny) >= 1.38
43b2e0
# Tests only
43b2e0
BuildRequires:  perl(autodie)
43b2e0
BuildRequires:  perl(ExtUtils::MM)
43b2e0
BuildRequires:  perl(Symbol)
43b2e0
BuildRequires:  perl(Test::More)
43b2e0
# Optional tests only
43b2e0
%if 0%{!?perl_bootstrap:1}
43b2e0
BuildRequires:  perl(Module::Install::AuthorTests)
43b2e0
BuildRequires:  perl(Module::Install::ExtraTests) >= 0.007
43b2e0
%endif
43b2e0
BuildRequires:  perl(utf8)
43b2e0
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
43b2e0
Requires:       perl(Archive::Zip) >= 1.37
43b2e0
Requires:       perl(Carp)
43b2e0
Requires:       perl(CPAN)
43b2e0
# CPANPLUS is preferred over CPAN, but it's in a build cycle
43b2e0
# (perl-Module-Install → perl-CPANPLUS → perl-DBIx-Simple → perl-SQL-Abstract
43b2e0
# → perl-Module-Install), not necessary if all dependencies are retrived
43b2e0
# from an RPM repository, and upstream still considered as an option. Thus do
43b2e0
# not hard require the CPANPLUS.
43b2e0
Recommends:     perl(CPANPLUS::Backend)
43b2e0
Requires:       perl(Devel::PPPort) >= 3.16
43b2e0
Requires:       perl(ExtUtils::MakeMaker) >= 6.59
43b2e0
# Unused: Requires:       perl(ExtUtils::MM_Cygwin)
43b2e0
Requires:       perl(ExtUtils::MM_Unix)
43b2e0
# Unused: Requires:       perl(ExtUtils::MM_Win32)
43b2e0
# Unneeded: Requires:       perl(File::HomeDir) >= 1
43b2e0
Requires:       perl(File::Remove) >= 1.42
43b2e0
Requires:       perl(File::Spec) >= 3.28
43b2e0
Requires:       perl(File::Temp)
43b2e0
Requires:       perl(FileHandle)
43b2e0
Requires:       perl(FindBin)
43b2e0
# Optional: Requires:       perl(JSON) >= 2.9
43b2e0
# Optional: Requires:       perl(LWP::Simple) >= 6.00
43b2e0
Requires:       perl(Module::Build) >= 0.29
43b2e0
Requires:       perl(Module::CoreList) >= 2.17
43b2e0
Requires:       perl(Module::ScanDeps) >= 1.09
43b2e0
# Optional: Requires:       perl(Net::FTP)
43b2e0
# Optional: Requires:       perl(PAR::Dist) >= 0.29
43b2e0
Requires:       perl(Parse::CPAN::Meta) >= 1.4413
43b2e0
Requires:       perl(Socket)
43b2e0
Requires:       perl(YAML::Tiny) >= 1.38
43b2e0
43b2e0
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::PPPort\\)$
43b2e0
%global __requires_exclude %__requires_exclude|^perl\\(ExtUtils::MakeMaker\\)$
43b2e0
%global __requires_exclude %__requires_exclude|^perl\\(File::Remove\\)$
43b2e0
%global __requires_exclude %__requires_exclude|^perl\\(File::Spec\\)$
43b2e0
%global __requires_exclude %__requires_exclude|^perl\\(YAML::Tiny\\)$
43b2e0
43b2e0
43b2e0
%description
43b2e0
Module::Install is a package for writing installers for CPAN (or CPAN-like)
43b2e0
distributions that are clean, simple, minimalist, act in a strictly correct
43b2e0
manner with ExtUtils::MakeMaker, and will run on any Perl installation
43b2e0
version 5.005 or newer.
43b2e0
43b2e0
%prep
43b2e0
%setup -q -n Module-Install-%{version}
43b2e0
43b2e0
%build
43b2e0
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
43b2e0
make %{?_smp_mflags}
43b2e0
43b2e0
%install
43b2e0
make pure_install DESTDIR=%{buildroot}
43b2e0
rm -f %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt
43b2e0
%{_fixperms} %{buildroot}/*
43b2e0
43b2e0
%check
43b2e0
make test
43b2e0
43b2e0
%files
43b2e0
%doc Changes README
43b2e0
%{perl_vendorlib}/*
43b2e0
%{_mandir}/man3/*
43b2e0
43b2e0
%changelog
43b2e0
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
43b2e0
43b2e0
* Fri Dec 22 2017 Petr Pisar <ppisar@redhat.com> - 1.19-1
43b2e0
- 1.19 bump
43b2e0
43b2e0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
43b2e0
43b2e0
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
43b2e0
- Perl 5.26 re-rebuild of bootstrapped packages
43b2e0
43b2e0
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-2
43b2e0
- Perl 5.26 rebuild
43b2e0
43b2e0
* Wed Apr 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-1
43b2e0
- 1.18 bump
43b2e0
43b2e0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
43b2e0
43b2e0
* Mon Oct 24 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-1
43b2e0
- 1.17 bump
43b2e0
43b2e0
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-10
43b2e0
- Perl 5.24 re-rebuild of bootstrapped packages
43b2e0
43b2e0
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-9
43b2e0
- Perl 5.24 rebuild
43b2e0
43b2e0
* Mon Feb 22 2016 Petr Pisar <ppisar@redhat.com> - 1.16-8
43b2e0
- Recommend CPANPLUS instead of hard-requiring it
43b2e0
43b2e0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
43b2e0
43b2e0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-6
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
43b2e0
43b2e0
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-5
43b2e0
- Perl 5.22 re-rebuild of bootstrapped packages
43b2e0
43b2e0
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-4
43b2e0
- Perl 5.22 rebuild
43b2e0
43b2e0
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-3
43b2e0
- Module::CoreList is actually required for build
43b2e0
43b2e0
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-2
43b2e0
- Disable some optional tests to avoid a cycle
43b2e0
43b2e0
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-1
43b2e0
- 1.16 bump
43b2e0
43b2e0
* Thu Apr 30 2015 Petr Šabata <contyk@redhat.com> - 1.15-1
43b2e0
- 1.15 bump
43b2e0
- Correct source URL
43b2e0
- Rewrite the dep list
43b2e0
- Drop the currently unused AUTOMATED_TESTING again
43b2e0
43b2e0
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 1.14-1
43b2e0
- 1.14 bump
43b2e0
43b2e0
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-2
43b2e0
- Perl 5.20 rebuild
43b2e0
43b2e0
* Tue Aug 19 2014 Petr Pisar <ppisar@redhat.com> - 1.10-1
43b2e0
- 1.10 bump
43b2e0
43b2e0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-7
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
43b2e0
43b2e0
* Tue Apr 01 2014 Petr Pisar <ppisar@redhat.com> - 1.06-6
43b2e0
- Do not build-require Test::MinimumVersion, xt tests are not performed
43b2e0
- Fix tests with Parse::CPAN::Meta >= 1.4413 (CPAN RT#93293)
43b2e0
43b2e0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-5
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
43b2e0
43b2e0
* Thu Aug 01 2013 Petr Pisar <ppisar@redhat.com> - 1.06-4
43b2e0
- Perl 5.18 rebuild
43b2e0
43b2e0
* Wed Jan 30 2013 Paul Howarth <paul@city-fan.org> - 1.06-3
43b2e0
- Don't "unbundle" Module::Install as we end up build-requiring ourselves
43b2e0
43b2e0
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.06-2
43b2e0
- Add missing deps
43b2e0
- Unbundle Module::Install
43b2e0
- Modernize the spec
43b2e0
43b2e0
* Fri Oct 05 2012 Petr Šabata <contyk@redhat.com> - 1.06-1
43b2e0
- 1.06 bump
43b2e0
43b2e0
* Fri Sep 14 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-4
43b2e0
- Update requires: perl(Carp), perl(CPAN), perl(CPANPLUS::Backend)
43b2e0
43b2e0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
43b2e0
43b2e0
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.04-2
43b2e0
- Perl 5.16 rebuild
43b2e0
43b2e0
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 1.04-1
43b2e0
- update to latest upstream version
43b2e0
43b2e0
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.01-2
43b2e0
- Perl mass rebuild
43b2e0
43b2e0
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.01-1
43b2e0
- update to latest upstream version
43b2e0
- clean up spec for modern rpmbuild
43b2e0
43b2e0
* Thu Mar 10 2011 Steven Pritchard <steve@kspei.com> 1.00-1
43b2e0
- Update to 1.00.
43b2e0
- Update build dependencies:
43b2e0
  + Archive::Tar >= 1.44
43b2e0
  + ExtUtils::Install >= 1.52
43b2e0
  + ExtUtils::ParseXS >= 2.19
43b2e0
  + JSON >= 2.14
43b2e0
  + LWP::UserAgent >= 5.812
43b2e0
  + Module::Build >= 0.29
43b2e0
  + Module::CoreList >= 2.17
43b2e0
  + Module::ScanDeps >= 0.89
43b2e0
- Update description (pulled from module).
43b2e0
43b2e0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-3
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
43b2e0
43b2e0
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-2
43b2e0
- 661697 rebuild for fixing problems with vendorach/lib
43b2e0
43b2e0
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-1
43b2e0
- Mass rebuild with perl-5.12.0 & update
43b2e0
43b2e0
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.91-4
43b2e0
- change to DESTDIR
43b2e0
- add README
43b2e0
- dist_file.txt wasn't packaged -> removed, it's needed only for test of build
43b2e0
43b2e0
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.91-3
43b2e0
- rebuild against perl 5.10.1
43b2e0
43b2e0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
43b2e0
43b2e0
* Sun Jun 14 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.91-1
43b2e0
- update to 0.91
43b2e0
- add br on Parse::CPAN::Meta: 1.39
43b2e0
43b2e0
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.90-1
43b2e0
- update to 0.90 
43b2e0
- add br on JSON, Test::Harness (3.13)
43b2e0
- update br on YAML::Tiny (1.38)
43b2e0
43b2e0
* Mon May 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.87-1
43b2e0
- update to 0.87
43b2e0
43b2e0
* Sun Apr 26 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.85-1
43b2e0
- update to 0.85
43b2e0
- add BR on File::Spec
43b2e0
43b2e0
* Thu Apr 09 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.82-1
43b2e0
- update to 0.82
43b2e0
43b2e0
* Sun Mar 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.80-1
43b2e0
- update to 0.80 
43b2e0
- remove 03_autoinstall.t swizzle (now self-skipped; see RT29448)
43b2e0
43b2e0
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.79-1
43b2e0
- update to 0.79
43b2e0
43b2e0
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
43b2e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
43b2e0
43b2e0
* Thu Dec 04 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.77-1
43b2e0
- update to 0.77
43b2e0
43b2e0
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.75-1
43b2e0
- Update to 0.75.
43b2e0
43b2e0
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.74-1
43b2e0
- Update to 0.74.
43b2e0
- Update versioned dependencies for File::Remove, Module::ScanDeps,
43b2e0
  PAR::Dist, and YAML::Tiny.
43b2e0
- BR Test::CPAN::Meta.
43b2e0
43b2e0
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.73-1
43b2e0
- Update to 0.73.
43b2e0
- BR File::Remove.
43b2e0
- Drop zero-length README.
43b2e0
43b2e0
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-3
43b2e0
- disable broken test (upstream bug present)
43b2e0
- add Test::MinimumVersion as BR
43b2e0
43b2e0
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
43b2e0
- rebuild for new perl
43b2e0
43b2e0
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.68-1
43b2e0
- Update to 0.68.
43b2e0
- Explicitly require Archive::Tar and ExtUtils::ParseXS.
43b2e0
43b2e0
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.67-2
43b2e0
- BR: perl(Test::More), perl(CPAN) (BZ 419631).
43b2e0
- Remove TEST_POD (Unused).
43b2e0
- Add AUTOMATED_TESTING.
43b2e0
- BR: perl(Test::Pod) for AUTOMATED_TESTING.
43b2e0
- Adjust License-tag.
43b2e0
43b2e0
* Fri May 18 2007 Steven Pritchard <steve@kspei.com> 0.67-1
43b2e0
- Update to 0.67.
43b2e0
- BR Archive::Tar, ExtUtils::ParseXS, and YAML::Tiny.
43b2e0
- Add a couple more docs.
43b2e0
43b2e0
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.65-1
43b2e0
- Update to 0.65.
43b2e0
- Use fixperms macro instead of our own chmod incantation.
43b2e0
- BR ExtUtils::MakeMaker.
43b2e0
43b2e0
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
43b2e0
- Rebuild.
43b2e0
43b2e0
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
43b2e0
- Update to 0.64.
43b2e0
- Fix find option order.
43b2e0
43b2e0
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
43b2e0
- Update to 0.63.
43b2e0
43b2e0
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.62-2
43b2e0
- Fix Source0 URL.
43b2e0
43b2e0
* Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.62-1
43b2e0
- Update to 0.62.
43b2e0
- Drop executable bit from everything in vendor_perl to make rpmlint happy.
43b2e0
43b2e0
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 0.61-1
43b2e0
- Specfile autogenerated by cpanspec 1.63.
43b2e0
- Drop explicit BR: perl.
43b2e0
- Turn on TEST_POD.