Name: bats-filesystem Version: 0.1.0 Release: %autorelease Summary: Add environment variables and location to find BATS test helpers License: GPL-3.0 URL: https://git.demus.dk/demus/bats-filesystem Source0: 90-bats-lib-dir.sh Source1: macros.bats Source2: LICENSE Source3: README.md Requires: bash bats BuildArch: noarch %description Adds an entry to profile.d that point to a dircetory that other BATS test helpers should be installed to to enable automatic discovery. %{load:%{SOURCE1}} %prep %setup -cT %{__cp} %{SOURCE1} %{SOURCE2} %{SOURCE3} . %install %{__install} -D -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE1} %{__install} -d -m 0755 %{buildroot}%{_batslibdir} %{__install} -D -m 0755 -t %{buildroot}%{_sysconfdir}/profile.d %{SOURCE0} %files %license LICENSE %doc README.md %{_sysconfdir}/profile.d/* %{_rpmmacrodir}/* %dir %{_batslibdir} %changelog %autochangelog