commit 894484c0319e5f2aa5a2f9847db53f98864d8523 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Aug 28 14:08:52 2014 +0200 Import .gitignore | 1 + perl-Module-Install-TestBase.spec | 70 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a7aad84 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Install-TestBase-0.86.tar.gz diff --git a/perl-Module-Install-TestBase.spec b/perl-Module-Install-TestBase.spec new file mode 100644 index 0000000..0d4dac7 --- /dev/null +++ b/perl-Module-Install-TestBase.spec @@ -0,0 +1,70 @@ +Name: perl-Module-Install-TestBase +Version: 0.86 +Release: 1%{?dist} +Summary: Module::Install Support for Test::Base +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-TestBase/ +Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Install-TestBase-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +# Filter::Util::Call not used at tests +BuildRequires: perl(Module::Install::Base) >= 1.10 +# Spiffy not used at tests +# Test::Base 0.86 not used at tests +# Test::Base::Filter not used at tests +# Test::Builder not used at tests +# Test::Builder::Module not used at tests +# Test::More not used at tests +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(File::Find) +BuildRequires: perl(Test::More) +# Test::Pod not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Filter::Util::Call) +Requires: perl(Module::Install::Base) >= 1.10 +Requires: perl(Spiffy) +Requires: perl(Test::Base) >= 0.86 +Requires: perl(Test::Base::Filter) +Requires: perl(Test::Builder) +Requires: perl(Test::Builder::Module) +Requires: perl(Test::More) +# Module::Install::TestBase splitted from Test-Base in 0.85 +Conflicts: perl-Test-Base < 0.85 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Install::Base\\)$ + +%description +This Perl module adds the use_test_base directive to Module::Install. Now you +can get full Test-Base support for you module with no external dependency on +Test::Base. + +%prep +%setup -q -n Module-Install-TestBase-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes CONTRIBUTING LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Aug 27 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.86-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..a534323 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c111f9c79c42ee3a7d30325de4b72b8e Module-Install-TestBase-0.86.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel