ppisar pushed to perl-Test-Run-CmdLine (master). "Import"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 11 08:10:35 UTC 2015


From 26d33d05b0776b57e26cb345073cd4b1328bb77f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 11 May 2015 09:46:46 +0200
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..88a7122 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Run-CmdLine-0.0126.tar.gz
diff --git a/perl-Test-Run-CmdLine.spec b/perl-Test-Run-CmdLine.spec
new file mode 100644
index 0000000..657e622
--- /dev/null
+++ b/perl-Test-Run-CmdLine.spec
@@ -0,0 +1,95 @@
+Name:           perl-Test-Run-CmdLine
+Version:        0.0126
+Release:        1%{?dist}
+Summary:        Run TAP tests from command line using the Test::Run module
+# lib and other code:   MIT
+# bin/runprove:         GPL+ or Artistic
+# examples:             BSD
+License:        (GPL+ or Artistic) and MIT and BSD
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-Run-CmdLine/
+Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/Test-Run-CmdLine-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(lib)
+# Prefer Module::Build over ExtUtils::Maker because the Test::Run::Builder
+# uses Module::Build too
+BuildRequires:  perl(Module::Build) >= 0.36
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Moose)
+# MooseX::Getopt::Basic version from unused MooseX::Getopt in META
+BuildRequires:  perl(MooseX::Getopt::Basic) >= 0.26
+BuildRequires:  perl(MRO::Compat)
+BuildRequires:  perl(Pod::Usage) >= 1.12
+BuildRequires:  perl(Test::Run::Base)
+BuildRequires:  perl(Test::Run::Iface)
+# Test::Run::Obj version taken from unused Test::Run::Core specified in META
+BuildRequires:  perl(Test::Run::Obj) >= 0.0126
+BuildRequires:  perl(Test::Run::Trap::Obj)
+BuildRequires:  perl(Test::Trap)
+BuildRequires:  perl(UNIVERSAL::require)
+BuildRequires:  perl(YAML::XS)
+# Test:
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(mro)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# MooseX::Getopt::Basic version from unused MooseX::Getopt in META
+Requires:       perl(MooseX::Getopt::Basic) >= 0.26
+Requires:       perl(Test::Run::Obj) >= 0.0126
+
+# Ignore dependencies in documentation
+%{?perl_default_filter}
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::Run::Obj\\)$
+
+%description
+These Perl modules allow one to run TAP tests and analyze them from the
+command line using the Test::Run module. It provides runprove tool with
+command line facilities similar to Test::Harness' prove tool.
+
+%prep
+%setup -q -n Test-Run-CmdLine-%{version}
+find lib -type f -exec chmod 0644 {} +
+# Remove unwanted files
+rm examples/eumm-and-test-manifest/MyModule/.cvsignore
+sed -i -e '/^examples\/eumm-and-test-manifest\/MyModule\/.cvsignore/d' MANIFEST
+# Correct shellbangs in examples
+sed -i -e \
+    '1 s|^#!perl |'"$(perl -MConfig -e 'print $Config{startperl}')"' |' \
+    examples/eumm-and-test-manifest/MyModule/t/*.t
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%license LICENSE
+%doc Changes docs examples README
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Feb 27 2015 Petr Pisar <ppisar at redhat.com> 0.0126-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..42833ca 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4f2d19712f886da0d5a57e538c1c9fe0  Test-Run-CmdLine-0.0126.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Run-CmdLine.git/commit/?h=master&id=26d33d05b0776b57e26cb345073cd4b1328bb77f


More information about the perl-devel mailing list