Files
bats-filesystem/bats-filesystem.spec
T
demus dd075be0bf
Build and provide rpm of bats-filesystem / Build src rpm and send it to COPR (f42) (release) Successful in 1m38s
Build and provide rpm of bats-filesystem / Build src rpm and send it to COPR (f43) (release) Successful in 1m39s
Build and provide rpm of bats-filesystem / Build src rpm and send it to COPR (f44) (release) Successful in 1m43s
Build and provide rpm of bats-filesystem / Build src rpm and send it to COPR (rawhide) (release) Successful in 2m9s
Remove superfluous variable
2026-03-21 20:22:56 +01:00

41 lines
977 B
RPMSpec

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