Blame SPECS/perl-Module-Build.spec

fc29f4
%{?scl:%scl_package perl-Module-Build}
fc29f4
fc29f4
%global cpan_version_major 0.42
fc29f4
%global cpan_version_minor 24
fc29f4
%global cpan_version %{cpan_version_major}%{?cpan_version_minor}
fc29f4
fc29f4
# Run optional tests
fc29f4
%bcond_without perl_Module_Build_enables_optional_test
fc29f4
fc29f4
Name:           %{?scl_prefix}perl-Module-Build
fc29f4
Epoch:          2
fc29f4
Version:        %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
fc29f4
Release:        6%{?dist}
fc29f4
Summary:        Build and install Perl modules
fc29f4
License:        GPL+ or Artistic
fc29f4
URL:            http://search.cpan.org/dist/Module-Build/
fc29f4
Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{cpan_version}.tar.gz
fc29f4
BuildArch:      noarch
fc29f4
BuildRequires:  coreutils
fc29f4
BuildRequires:  %{?scl_prefix}perl-interpreter
fc29f4
BuildRequires:  %{?scl_prefix}perl-devel
fc29f4
BuildRequires:  %{?scl_prefix}perl-generators
fc29f4
BuildRequires:  %{?scl_prefix}perl(Archive::Tar)
fc29f4
BuildRequires:  %{?scl_prefix}perl(AutoSplit)
fc29f4
BuildRequires:  %{?scl_prefix}perl(base)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Carp)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Config)
fc29f4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta) >= 2.142060
fc29f4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta::Converter) >= 2.141170
fc29f4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta::Merge)
fc29f4
BuildRequires:  %{?scl_prefix}perl(CPAN::Meta::YAML) >= 0.003
fc29f4
BuildRequires:  %{?scl_prefix}perl(Cwd)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
fc29f4
BuildRequires:  %{?scl_prefix}perl(DynaLoader)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Exporter)
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::CBuilder) >= 0.27
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Install) >= 0.3
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Installed)
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Manifest) >= 1.54
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Mkbootstrap)
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Packlist)
fc29f4
BuildRequires:  %{?scl_prefix}perl(ExtUtils::ParseXS) >= 2.21
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Basename)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Compare)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Copy)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Find)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Path)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Spec) >= 0.82
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Spec::Functions)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::Temp) >= 0.15
fc29f4
BuildRequires:  %{?scl_prefix}perl(Getopt::Long)
fc29f4
BuildRequires:  %{?scl_prefix}perl(inc::latest)
fc29f4
BuildRequires:  %{?scl_prefix}perl(lib)
fc29f4
# perl(Module::Build) is loaded from ./lib
fc29f4
BuildRequires:  %{?scl_prefix}perl(Module::Metadata) >= 1.000002
fc29f4
BuildRequires:  %{?scl_prefix}perl(Parse::CPAN::Meta) >= 1.4401
fc29f4
BuildRequires:  %{?scl_prefix}perl(Perl::OSType) >= 1
fc29f4
BuildRequires:  %{?scl_prefix}perl(strict)
fc29f4
# Optional tests:
fc29f4
%if !%{defined perl_bootstrap}
fc29f4
%if %{with perl_Module_Build_enables_optional_test}
fc29f4
BuildRequires:  %{?scl_prefix}perl(Archive::Zip)
fc29f4
BuildRequires:  %{?scl_prefix}perl(File::ShareDir) >= 1.00
fc29f4
BuildRequires:  %{?scl_prefix}perl(PAR::Dist)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Pod::Readme)
fc29f4
%endif
fc29f4
%endif
fc29f4
BuildRequires:  %{?scl_prefix}perl(TAP::Harness)
fc29f4
BuildRequires:  %{?scl_prefix}perl(TAP::Harness::Env)
fc29f4
BuildRequires:  %{?scl_prefix}perl(Test::Harness) >= 3.29
fc29f4
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.49
fc29f4
BuildRequires:  %{?scl_prefix}perl(Text::ParseWords)
fc29f4
BuildRequires:  %{?scl_prefix}perl(utf8)
fc29f4
BuildRequires:  %{?scl_prefix}perl(vars)
fc29f4
BuildRequires:  %{?scl_prefix}perl(version) >= 0.87
fc29f4
BuildRequires:  %{?scl_prefix}perl(warnings)
fc29f4
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
fc29f4
Requires:       %{?scl_prefix}perl(CPAN::Meta) >= 2.142060
fc29f4
Requires:       %{?scl_prefix}perl(CPAN::Meta::Converter) >= 2.141170
fc29f4
Requires:       %{?scl_prefix}perl(CPAN::Meta::Merge)
fc29f4
Requires:       %{?scl_prefix}perl(ExtUtils::CBuilder) >= 0.27
fc29f4
Requires:       %{?scl_prefix}perl(ExtUtils::Install) >= 0.3
fc29f4
Requires:       %{?scl_prefix}perl(ExtUtils::Manifest) >= 1.54
fc29f4
Requires:       %{?scl_prefix}perl(ExtUtils::Mkbootstrap)
fc29f4
Requires:       %{?scl_prefix}perl(ExtUtils::ParseXS) >= 2.21
fc29f4
Requires:       %{?scl_prefix}perl(inc::latest)
fc29f4
Requires:       %{?scl_prefix}perl(Module::Metadata) >= 1.000002
fc29f4
# Keep PAR support optional (PAR::Dist)
fc29f4
Requires:       %{?scl_prefix}perl(Perl::OSType) >= 1
fc29f4
Requires:       %{?scl_prefix}perl(TAP::Harness::Env)
fc29f4
Requires:       %{?scl_prefix}perl(Test::Harness)
fc29f4
%if !%{defined perl_bootstrap}
fc29f4
# Optional run-time needed for Software::License license identifier,
fc29f4
# bug #1152319
fc29f4
Requires:       %{?scl_prefix}perl(Software::License)
fc29f4
%endif
fc29f4
# Optional run-time needed for generating documentation from POD:
fc29f4
Requires:       %{?scl_prefix}perl(Pod::Html)
fc29f4
Requires:       %{?scl_prefix}perl(Pod::Man) >= 2.17
fc29f4
Requires:       %{?scl_prefix}perl(Pod::Text)
fc29f4
# Run-time for generated Build scripts from Build.PLs:
fc29f4
# Those are already found by dependency generator. Just make sure they
fc29f4
# present.
fc29f4
# Cwd
fc29f4
# File::Basename
fc29f4
# File::Spec
fc29f4
# strict
fc29f4
fc29f4
%{?perl_default_filter}
fc29f4
# Remove under-specified dependencies
fc29f4
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\((ExtUtils::Install|File::Spec|Module::Build|Module::Metadata|Perl::OSType)\\)$
fc29f4
%global __requires_exclude %__requires_exclude|^%{?scl_prefix}perl\\(CPAN::Meta::YAML\\) >= 0.002$
fc29f4
fc29f4
%description
fc29f4
Module::Build is a system for building, testing, and installing Perl
fc29f4
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
fc29f4
Developers may alter the behavior of the module through sub-classing in a
fc29f4
much more straightforward way than with MakeMaker. It also does not require
fc29f4
a make on your system - most of the Module::Build code is pure-perl and
fc29f4
written in a very cross-platform way. In fact, you don't even need a shell,
fc29f4
so even platforms like MacOS (traditional) can use it fairly easily. Its
fc29f4
only prerequisites are modules that are included with perl 5.6.0, and it
fc29f4
works fine on perl 5.005 if you can install a few additional modules.
fc29f4
fc29f4
%prep
fc29f4
%setup -q -n Module-Build-%{cpan_version}
fc29f4
fc29f4
%build
fc29f4
%{?scl:scl enable %{scl} '}perl Build.PL installdirs=vendor && ./Build%{?scl:'}
fc29f4
fc29f4
%install
fc29f4
%{?scl:scl enable %{scl} '}./Build install destdir=%{buildroot} create_packlist=0%{?scl:'}
fc29f4
%{_fixperms} %{buildroot}/*
fc29f4
fc29f4
%check
fc29f4
rm t/signature.t
fc29f4
LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 %{?scl:scl enable %{scl} '}./Build test%{?scl:'}
fc29f4
fc29f4
%files
fc29f4
%doc LICENSE
fc29f4
%doc Changes contrib README
fc29f4
%{_bindir}/config_data
fc29f4
%{perl_vendorlib}/*
fc29f4
%{_mandir}/man1/*
fc29f4
%{_mandir}/man3/*
fc29f4
fc29f4
%changelog
fc29f4
* Tue Dec 19 2017 Petr Pisar <ppisar@redhat.com> - 2:0.42.24-6
fc29f4
- Rebuild without bootstrap
fc29f4
fc29f4
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 2:0.42.24-5
fc29f4
- SCL
fc29f4
fc29f4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.24-4
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fc29f4
fc29f4
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-3
fc29f4
- Perl 5.26 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-2
fc29f4
- Perl 5.26 rebuild
fc29f4
fc29f4
* Wed May 31 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.24-1
fc29f4
- 0.4224 bump
fc29f4
fc29f4
* Fri Mar 31 2017 Petr Pisar <ppisar@redhat.com> - 2:0.42.22-1
fc29f4
- 0.4222 bump
fc29f4
fc29f4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.20-2
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fc29f4
fc29f4
* Mon Aug 29 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.20-1
fc29f4
- 0.4220 bump
fc29f4
fc29f4
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-3
fc29f4
- Perl 5.24 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-2
fc29f4
- Perl 5.24 rebuild
fc29f4
fc29f4
* Tue Apr 26 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.18-1
fc29f4
- 0.4218 bump
fc29f4
fc29f4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.42.16-2
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fc29f4
fc29f4
* Wed Jan 20 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.16-1
fc29f4
- 0.4216 bump
fc29f4
fc29f4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.42.14-2
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fc29f4
fc29f4
* Fri Jun 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.14-1
fc29f4
- 0.4214 bump
fc29f4
fc29f4
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-3
fc29f4
- Perl 5.22 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-2
fc29f4
- Perl 5.22 rebuild
fc29f4
fc29f4
* Mon May 18 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.12-1
fc29f4
- 0.4212 bump
fc29f4
fc29f4
* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.11-1
fc29f4
- 0.4211 bump
fc29f4
fc29f4
* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.10-4
fc29f4
- Sub-package perl-inc-latest
fc29f4
fc29f4
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 2:0.42.10-3
fc29f4
- Disable File::ShareDir optional tests when bootstrapping
fc29f4
fc29f4
* Wed Oct 15 2014 Petr Pisar <ppisar@redhat.com> - 2:0.42.10-2
fc29f4
- Require Software::License to recognize more license identifiers (bug #1152319)
fc29f4
fc29f4
* Wed Sep 10 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.10-1
fc29f4
- 0.4210 bump
fc29f4
fc29f4
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.08-3
fc29f4
- Perl 5.20 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.08-2
fc29f4
- Perl 5.20 rebuild
fc29f4
fc29f4
* Tue Aug 19 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.42.08-1
fc29f4
- 0.4208 bump
fc29f4
fc29f4
* Wed Jul 16 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.42.06-1
fc29f4
- 0.4206 bump
fc29f4
fc29f4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.42.05-2
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fc29f4
fc29f4
* Thu Feb 13 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.05-1
fc29f4
- 0.4205 bump
fc29f4
fc29f4
* Wed Jan 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.04-1
fc29f4
- 0.4204 bump
fc29f4
fc29f4
* Thu Nov 28 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.03-1
fc29f4
- 0.4203 bump
fc29f4
fc29f4
* Mon Nov 25 2013 Petr Pisar <ppisar@redhat.com> - 2:0.42.02-1
fc29f4
- 0.4202 bump
fc29f4
fc29f4
* Tue Nov 19 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.42.01-1
fc29f4
- 0.4201 bump
fc29f4
fc29f4
* Tue Nov 05 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.08-1
fc29f4
- 0.4008 bump
fc29f4
fc29f4
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.07-3
fc29f4
- Perl 5.18 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.40.07-2
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fc29f4
fc29f4
* Fri Jul 26 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.05-1
fc29f4
- 0.4007 bump
fc29f4
fc29f4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2:0.40.05-2
fc29f4
- Perl 5.18 rebuild
fc29f4
fc29f4
* Mon Apr 29 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.40.05-1
fc29f4
- 0.4005 bump
fc29f4
fc29f4
* Wed Apr 03 2013 Petr Šabata <contyk@redhat.com> - 2:0.40.04-1
fc29f4
- 0.4004 bump
fc29f4
fc29f4
* Tue Jan 29 2013 Petr Pisar <ppisar@redhat.com> - 2:0.40.03-5
fc29f4
- Run-require POD convertors to get manual pages when building other packages
fc29f4
fc29f4
* Mon Dec 10 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.03-4
fc29f4
- YAML::Tiny is not needed at build time (bug #885146)
fc29f4
fc29f4
* Wed Nov 21 2012 Petr Šabata <contyk@redhat.com> - 2:0.40.03-3
fc29f4
- Add a few missing deps
fc29f4
- Drop command macros
fc29f4
fc29f4
* Mon Sep 03 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.03-2
fc29f4
- Do not build-require Module::Build (bug #849328)
fc29f4
fc29f4
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.03-1
fc29f4
- 0.4003 bump
fc29f4
fc29f4
* Mon Jul 30 2012 Jitka Plesnikova <jplesnik@redhat.com>  2:0.40.02-1
fc29f4
- 0.4002 bump
fc29f4
fc29f4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.40.01-4
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fc29f4
fc29f4
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.01-3
fc29f4
- Perl 5.16 re-rebuild of bootstrapped packages
fc29f4
fc29f4
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.01-2
fc29f4
- Perl 5.16 rebuild
fc29f4
fc29f4
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40.01-1
fc29f4
- 0.4001 bump
fc29f4
fc29f4
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40-3
fc29f4
- Perl 5.16 rebuild
fc29f4
fc29f4
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40-2
fc29f4
- Do not run PAR tests on bootstrap
fc29f4
fc29f4
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 2:0.40-1
fc29f4
- 0.40 bump
fc29f4
- All reverse dependecies must require use 2-digit Module::Build version now
fc29f4
fc29f4
* Wed May 30 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-5
fc29f4
- conditionalize some test
fc29f4
fc29f4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3800-4
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fc29f4
fc29f4
* Mon Jun 27 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-3
fc29f4
- BR on perl-devel because this package contains macros used by rpmbuild
fc29f4
  for Perl packages
fc29f4
fc29f4
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-2
fc29f4
- rebuild with Perl 5.14.1, remove defatter
fc29f4
fc29f4
* Wed Mar 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.3800-1
fc29f4
- update to 0.3800
fc29f4
fc29f4
* Wed Mar 02 2011 Petr Pisar <ppisar@redhat.com> - 1:0.3624-2
fc29f4
- Raise epoch to  Core level
fc29f4
- Remove BuildRoot stuff
fc29f4
fc29f4
* Mon Feb 28 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.3624-1
fc29f4
- update to new version
fc29f4
- fix BR, R
fc29f4
fc29f4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3607-4
fc29f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fc29f4
fc29f4
* Mon Aug 30 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-3
fc29f4
- switch off experimental test
fc29f4
fc29f4
* Tue Jun  8 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-2
fc29f4
- copy check part&upload key from Paul Howarth
fc29f4
- fix macro
fc29f4
fc29f4
* Mon May 31 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3607-1
fc29f4
- add BR, update, switch on some other tests
fc29f4
fc29f4
* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.3603-1
fc29f4
- Specfile autogenerated by cpanspec 1.78.