2013-04-23 15:49:46 +00:00
|
|
|
Summary: A tiny replacement for Module::Build
|
|
|
|
Name: perl-Module-Build-Tiny
|
2013-05-27 15:38:54 +00:00
|
|
|
Version: 0.021
|
2013-04-25 11:42:27 +00:00
|
|
|
Release: 1%{?dist}
|
2013-04-23 15:49:46 +00:00
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: https://github.com/Leont/module-build-tiny
|
|
|
|
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module
|
|
|
|
BuildRequires: perl(CPAN::Meta)
|
|
|
|
BuildRequires: perl(Exporter) >= 5.57
|
2013-05-27 15:38:54 +00:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
2013-04-23 15:49:46 +00:00
|
|
|
BuildRequires: perl(ExtUtils::Config) >= 0.003
|
2013-04-30 09:55:23 +00:00
|
|
|
BuildRequires: perl(ExtUtils::Helpers) >= 0.020
|
2013-04-23 15:49:46 +00:00
|
|
|
BuildRequires: perl(ExtUtils::Install)
|
|
|
|
BuildRequires: perl(ExtUtils::InstallPaths) >= 0.002
|
2013-05-27 15:38:54 +00:00
|
|
|
BuildRequires: perl(ExtUtils::ParseXS)
|
2013-04-23 15:49:46 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(JSON::PP) >= 2
|
|
|
|
BuildRequires: perl(Pod::Man)
|
|
|
|
BuildRequires: perl(TAP::Harness) >= 3.0
|
|
|
|
# Test
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(File::ShareDir)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.41
|
2013-05-27 15:38:54 +00:00
|
|
|
BuildRequires: perl(XSLoader)
|
2013-04-23 15:49:46 +00:00
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2013-05-27 15:38:54 +00:00
|
|
|
Requires: perl(ExtUtils::CBuilder)
|
|
|
|
Requires: perl(ExtUtils::ParseXS)
|
2013-04-25 11:42:27 +00:00
|
|
|
Requires: perl(Pod::Man)
|
|
|
|
Requires: perl(TAP::Harness) >= 3.0
|
2013-04-23 15:49:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Many Perl distributions use a Build.PL file instead of a Makefile.PL file to
|
|
|
|
drive distribution configuration, build, test and installation. Traditionally,
|
|
|
|
Build.PL uses Module::Build as the underlying build system. This module
|
|
|
|
provides a simple, lightweight, drop-in replacement.
|
|
|
|
|
|
|
|
Whereas Module::Build has over 6,700 lines of code; this module has less than
|
|
|
|
70, yet supports the features needed by most pure-Perl distributions.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Module-Build-Tiny-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
2013-05-20 14:26:47 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2013-04-23 15:49:46 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
RELEASE_TESTING=1 ./Build test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE README Todo
|
|
|
|
%{perl_vendorlib}/Module/
|
|
|
|
%{_mandir}/man3/Module::Build::Tiny.3pm*
|
|
|
|
|
|
|
|
%changelog
|
2013-05-27 15:38:54 +00:00
|
|
|
* Mon May 27 2013 Paul Howarth <paul@city-fan.org> - 0.021-1
|
|
|
|
- Update to 0.021
|
|
|
|
- Add XS support
|
|
|
|
- Only manify if really installable
|
|
|
|
- BR:/R: perl(ExtUtils::CBuilder) and perl(ExtUtils::ParseXS)
|
|
|
|
- BR: perl(XSLoader) for the test suite
|
|
|
|
|
2013-05-20 14:26:47 +00:00
|
|
|
* Mon May 20 2013 Paul Howarth <paul@city-fan.org> - 0.020-1
|
|
|
|
- Update to 0.020
|
|
|
|
- Accept a --create_packlist argument
|
|
|
|
|
2013-04-30 09:55:23 +00:00
|
|
|
* Tue Apr 30 2013 Paul Howarth <paul@city-fan.org> - 0.019-1
|
|
|
|
- Update to 0.019
|
|
|
|
- Accept --pureperl-only
|
|
|
|
- Bump perl(ExtUtils::Helpers) version requirement to 0.020
|
|
|
|
|
2013-04-25 11:42:27 +00:00
|
|
|
* Thu Apr 25 2013 Paul Howarth <paul@city-fan.org> - 0.018-1
|
|
|
|
- Update to 0.018
|
|
|
|
- Lazily load Pod::Man and TAP::Harness
|
|
|
|
- Don't manify unless necessary
|
|
|
|
- Bump perl(ExtUtils::Helpers) version requirement to 0.019
|
|
|
|
- Explicitly require perl(Pod::Man) and perl(TAP::Harness) ≥ 3.0
|
|
|
|
|
2013-04-23 15:49:46 +00:00
|
|
|
* Tue Apr 23 2013 Paul Howarth <paul@city-fan.org> - 0.017-2
|
|
|
|
- Updates following package review (#947455)
|
|
|
|
- BR: perl(ExtUtils::Config) for module
|
|
|
|
- BR: perl(File::ShareDir) for test suite
|
|
|
|
- Drop BR: perl(File::Basename) and perl(File::Find), not dual-lived
|
|
|
|
|
|
|
|
* Mon Apr 15 2013 Paul Howarth <paul@city-fan.org> - 0.017-1
|
|
|
|
- Update to 0.017
|
|
|
|
- Switched back from JSON to JSON::PP
|
|
|
|
- Remove dependency on File::Find::Rule
|
|
|
|
- Switched back to ExtUtils::Helpers for detildefy
|
|
|
|
- Drop .modulebuildrc support per Lancaster consensus
|
|
|
|
- Fix loading of File::Find
|
|
|
|
- Fix redefined warning for find
|
|
|
|
- Drop BR: perl(ExtUtils::BuildRC), perl(File::Find::Rule), perl(File::HomeDir),
|
|
|
|
perl(File::pushd)
|
|
|
|
- BR: perl(JSON::PP) rather than perl(JSON), and perl(Pod::Man)
|
|
|
|
- Bump perl(ExtUtils::Helpers) version requirement to 0.017 to avoid the need
|
|
|
|
for a workaround for misplaced manpage
|
|
|
|
|
|
|
|
* Thu Apr 4 2013 Paul Howarth <paul@city-fan.org> - 0.014-1
|
|
|
|
- Update to 0.014
|
|
|
|
- Added sharedir support
|
|
|
|
- Fixed Synopsis
|
|
|
|
- Make blib/arch, to satisfy blib.pm
|
|
|
|
- Removed dependencies on Test::Exception, Capture::Tiny and File::Slurp
|
|
|
|
|
|
|
|
* Mon Apr 1 2013 Paul Howarth <paul@city-fan.org> - 0.013-2
|
|
|
|
- Sanitize for Fedora submission
|
|
|
|
|
|
|
|
* Mon Apr 1 2013 Paul Howarth <paul@city-fan.org> - 0.013-1
|
|
|
|
- Initial RPM version
|