Build and provide rpm of bats-support / Build src rpm and send it to COPR (f42) (release) Successful in 2m10s
Build and provide rpm of bats-support / Build src rpm and send it to COPR (f44) (release) Successful in 1m40s
Build and provide rpm of bats-support / Build src rpm and send it to COPR (f43) (release) Successful in 1m39s
Build and provide rpm of bats-support / Build src rpm and send it to COPR (rawhide) (release) Successful in 1m43s
44 lines
1.2 KiB
RPMSpec
44 lines
1.2 KiB
RPMSpec
%global upstreamname bats-support
|
|
%global bats_libdir %{_batslibdir}/%{upstreamname}
|
|
|
|
Name: bats-support
|
|
Version: 0.3.0
|
|
Release: %autorelease
|
|
Summary: Bash Automated Testing System support library
|
|
|
|
License: CC0-1.0
|
|
URL: https://github.com/bats-core/%{upstreamname}
|
|
Source: https://github.com/bats-core/%{upstreamname}/archive/v%{version}.tar.gz#/%{upstreamname}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: bats-filesystem parallel
|
|
BuildRequires: bats-filesystem parallel 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.
|
|
|
|
bats-support is a supporting library providing common functions to test helper
|
|
libraries written for Bats.
|
|
|
|
%prep
|
|
%autosetup -n %{upstreamname}-%{version} -p1
|
|
|
|
%install
|
|
%{__install} -D -m 0755 -t %{buildroot}%{bats_libdir} load.bash
|
|
%{__install} -D -m 0755 -t %{buildroot}%{bats_libdir}/src src/*
|
|
|
|
%check
|
|
bats test
|
|
|
|
%files
|
|
%doc README.md CHANGELOG.md
|
|
%license LICENSE
|
|
%{bats_libdir}
|
|
|
|
%changelog
|
|
%autochangelog
|