Accepting request 1087373 from home:jengelh:branches:utilities

- Use autosetup and POSIX tar options.

OBS-URL: https://build.opensuse.org/request/show/1087373
OBS-URL: https://build.opensuse.org/package/show/utilities/homeshick?expand=0&rev=22
This commit is contained in:
Ondřej Súkup 2023-05-16 09:32:54 +00:00 committed by Git OBS Bridge
parent 97d68041bf
commit 8e573e3b74
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 16 09:19:27 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Use autosetup and POSIX tar options.
-------------------------------------------------------------------
Sat May 13 16:51:17 UTC 2023 - Olav Reinert <seroton10@gmail.com>

View File

@ -54,14 +54,12 @@ plugins without clutter. It also makes it easy to install large external
frameworks, such as oh-my-zsh, found on sites like https://dotfiles.github.io/.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
# unpack test libraries
mkdir -p test/bats/lib
for lib in file support assert; do
tar xf %{_sourcedir}/bats-$lib-*.tar.gz -C test/bats/lib --transform "s/bats-$lib-...../$lib/"
tar -xf %{_sourcedir}/bats-$lib-*.tar.gz -C test/bats/lib --transform "s/bats-$lib-...../$lib/"
done
%build