## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %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 ## START: Generated by rpmautospec * Thu Mar 26 2026 Daniel Demus - 1.2.5-3 - Rename to jasonkerns variant * Tue Mar 24 2026 Daniel Demus - 1.2.5-2 - Make binstub executable * Sun Mar 22 2026 Daniel Demus - 1.2.5-1 - First packaging ## END: Generated by rpmautospec