summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-18 10:50:29 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-18 10:50:29 +0000
commite717be4110c20f790e96b24f4a5c78a14850457c (patch)
tree9ee534be547c62a11df405f7e2797b972ee2ded6
parent653c022b88479411eda202565268fbb3a41d994e (diff)
automatic import of batsopeneuler22.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--bats.spec46
-rw-r--r--sources1
3 files changed, 48 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..385880b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.10.0.tar.gz
diff --git a/bats.spec b/bats.spec
new file mode 100644
index 0000000..51daf36
--- /dev/null
+++ b/bats.spec
@@ -0,0 +1,46 @@
+Name: bats
+Version: 1.10.0
+Release: 1
+Summary: Bash Automated Testing System
+
+License: MIT
+URL: https://github.com/bats-core/bats-core
+Source: https://github.com/bats-core/bats-core/archive/refs/tags/v%{version}.tar.gz
+
+BuildArch: noarch
+
+Requires: bash
+Requires: parallel
+BuildRequires: parallel
+BuildRequires: procps-ng
+
+%description
+Bats is a TAP-compliant testing framework for Bash. It provides a simple way to
+verify that the UNIX programs you write behave as expected. Bats is most useful
+when testing software written in Bash, but you can use it to test any UNIX
+program.
+
+%prep
+%autosetup -n bats-core-%{version} -p1
+
+%install
+./install.sh %{buildroot}%{_prefix}
+
+%check
+./bin/bats test
+
+%files
+%doc AUTHORS README.md docs/CHANGELOG.md
+%license LICENSE.md
+%{_bindir}/%{name}
+%{_libexecdir}/bats-core
+%{_prefix}/lib/bats-core
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man7/%{name}.7.gz
+
+%changelog
+* Sun Feb 25 2024 lijian <lijian2@kylinos.cn> - 1.10.0-1
+- Upgrade to 1.10.0
+
+* Mon Jul 10 2023 lijian <lijian2@kylinos.cn> - 1.9.0-1
+- Package init.
diff --git a/sources b/sources
new file mode 100644
index 0000000..bfca219
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6d1f1d1e89e3694e097adce329c2f918 v1.10.0.tar.gz