commit a27f1fb577e4a468af3fb9be9a7b0b6f0a42ddfb Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Aug 25 08:26:38 2014 +0200 Import .gitignore | 1 + perl-Module-Install-TestML.spec | 58 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c33f86e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Install-TestML-0.02.tar.gz diff --git a/perl-Module-Install-TestML.spec b/perl-Module-Install-TestML.spec new file mode 100644 index 0000000..4a4c1c9 --- /dev/null +++ b/perl-Module-Install-TestML.spec @@ -0,0 +1,58 @@ +Name: perl-Module-Install-TestML +Version: 0.02 +Release: 1%{?dist} +Summary: Module::Install support for TestML +# The URL to Artistic license is wrong, +# <https://github.com/ingydotnet/module-install-testml-pm/issues/1> +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-TestML/ +Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Install-TestML-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +# Module::Install::Base 1.10 not used at tests +# TestML::Setup not used at tests +# vars not used at tests +# Tests: +BuildRequires: perl(Test::More) +# Test::Pod 1.41 not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Module::Install::Base) >= 1.10 +Requires: perl(TestML::Setup) +Requires: perl(warnings) +# This module has been split from TestML +Conflicts: perl-TestML < 0.47 + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Install::Base\\)$ + +%description +This module adds the use_testml_tap directive to Module::Install. + +%prep +%setup -q -n Module-Install-TestML-%{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 +* Tue Aug 19 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..261e1c5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3adaa94a7786c6de23e2654edb4ae5a3 Module-Install-TestML-0.02.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