generated from demus/basic-rpm-template
Build and provide rpm of bats-mock / Build src rpm and send it to COPR (f42) (release) Successful in 1m56s
Build and provide rpm of bats-mock / Build src rpm and send it to COPR (f43) (release) Successful in 1m49s
Build and provide rpm of bats-mock / Build src rpm and send it to COPR (f44) (release) Successful in 2m18s
Build and provide rpm of bats-mock / Build src rpm and send it to COPR (rawhide) (release) Successful in 2m4s
45 lines
1.3 KiB
RPMSpec
45 lines
1.3 KiB
RPMSpec
%global variant jasonkarns
|
|
%global upstreamname bats-mock
|
|
%global bats_libdir %{_batslibdir}/%{upstreamname}
|
|
|
|
Name: %{upstreamname}+%{variant}
|
|
Version: 1.2.5
|
|
Release: %autorelease
|
|
Summary: Bash Automated Testing System mocking helper
|
|
|
|
License: CC0-1.0
|
|
URL: https://github.com/%{variant}/%{upstreamname}
|
|
Source0: https://github.com/%{variant}/%{upstreamname}/archive/v%{version}.tar.gz
|
|
Source1: load.bash
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: bats-filesystem parallel
|
|
BuildRequires: bats-filesystem
|
|
Provides: %{upstreamname}
|
|
Conflicts: %{upstreamname}+buildkite-plugins
|
|
|
|
%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.
|
|
|
|
Mocking/stubbing library for BATS.
|
|
|
|
%prep
|
|
%autosetup -n %{upstreamname}-%{version} -p1
|
|
|
|
%install
|
|
%{__install} -D -m 0644 -t %{buildroot}%{bats_libdir} %{SOURCE1}
|
|
%{__install} -D -m 0644 -t %{buildroot}%{bats_libdir}/src stub.bash
|
|
%{__install} -D -m 0755 -t %{buildroot}%{bats_libdir}/src binstub
|
|
|
|
%files
|
|
%doc README.md docs/CODE_OF_CONDUCT.md
|
|
%license LICENSE
|
|
%{bats_libdir}
|
|
|
|
%changelog
|
|
%autochangelog
|