## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 upstreamname bats-support %global bats_libdir %{_prefix}/lib/%{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 parallel BuildRequires: bats 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/* %dnl install.sh should turn up with the next release %dnl ./install.sh ${RPM_BUILD_ROOT}%{_prefix} %check bats test %files %doc README.md CHANGELOG.md %license LICENSE %{bats_libdir} %changelog ## START: Generated by rpmautospec * Fri Mar 20 2026 Daniel Demus - 0.3.0-2 - Update workflows * Fri Mar 20 2026 Daniel Demus - 0.3.0-1 - First packaging ## END: Generated by rpmautospec