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