boo#1193177: Fix build on Leap and SLE
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bats?expand=0&rev=24
This commit is contained in:
parent
3f85e900a0
commit
e8b6e8b8a9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 11 16:16:42 UTC 2021 - Olav Reinert <seroton10@gmail.com>
|
||||||
|
|
||||||
|
- boo#1193177: Fix build on Leap and SLE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 24 23:53:57 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Wed Nov 24 23:53:57 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ to test any UNIX program.
|
|||||||
sed -i '1s|#!%{_bindir}/env bash|#!/bin/bash|' ./lib{,exec}/%{pname}/* ./bin/bats
|
sed -i '1s|#!%{_bindir}/env bash|#!/bin/bash|' ./lib{,exec}/%{pname}/* ./bin/bats
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
mv -v libexec/%{pname}/* lib/%{pname}/
|
mv -v libexec/%{pname}/* lib/%{pname}/
|
||||||
sed -i 's|libexec|lib|g' install.sh ./lib/%{pname}/* ./bin/bats
|
sed -i 's|libexec|lib|g' install.sh ./lib/%{pname}/* ./bin/bats ./test/*.bats
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user