summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-18 11:16:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-18 11:16:47 +0000
commitc2f33239cf12cfd87a6650c4adc9dd713d844552 (patch)
tree3b861ee465aef7b030d5d027f7acdbcfe17a71b2
parenta75d853a99cfa233673f8615efc8cc324564f600 (diff)
automatic import of perl-Test-Commandopeneuler22.09
-rw-r--r--.gitignore1
-rw-r--r--perl-Test-Command.spec50
-rw-r--r--sources1
3 files changed, 52 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..20adb8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Command-0.11.tar.gz
diff --git a/perl-Test-Command.spec b/perl-Test-Command.spec
new file mode 100644
index 0000000..ad9d5fc
--- /dev/null
+++ b/perl-Test-Command.spec
@@ -0,0 +1,50 @@
+Name: perl-Test-Command
+Version: 0.11
+Release: 1
+Summary: Test routines for external commands
+License: GPL+ or Artistic
+URL: https://metacpan.org/release/Test-Command
+Source0: https://cpan.metacpan.org/authors/id/D/DA/DANBOO/Test-Command-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl-interpreter
+BuildRequires: perl-generators
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Builder::Module)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+
+%description
+Test::Command intends to bridge the gap between the well tested functions
+and objects you choose and their usage in your programs. By examining the
+exit status, terminating signal, STDOUT and STDERR of your program you can
+determine if it is behaving as expected.
+
+%prep
+%setup -q -n Test-Command-%{version}
+
+%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
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Feb 17 2023 lichaoran <pkwarcraft@hotmail.com> - 0.11-1
+- init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..2eeca4e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9ab83c4695961dbe92cd86efe08f0634 Test-Command-0.11.tar.gz