Package init
This commit is contained in:
parent
939acc8407
commit
bf9d19f83a
44
bats.spec
Normal file
44
bats.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: bats
|
||||||
|
Version: 1.9.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}
|
||||||
|
|
||||||
|
%install
|
||||||
|
./install.sh %{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export TERM=dumb
|
||||||
|
./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
|
||||||
|
* Mon Jul 10 2023 lijian <lijian2@kylinos.cn> - 1.9.0-1
|
||||||
|
- Package init.
|
||||||
4
bats.yaml
Normal file
4
bats.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: bats-core/bats-core
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
BIN
v1.9.0.tar.gz
Normal file
BIN
v1.9.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user