Accepting request 744543 from home:namtrac:branches:X11:windowmanagers

Fix usage of __foo, no changelog because the last entry is good enough.

OBS-URL: https://build.opensuse.org/request/show/744543
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/i3status?expand=0&rev=22
This commit is contained in:
Ondřej Súkup 2019-11-05 09:36:30 +00:00 committed by Git OBS Bridge
parent 98aedbc342
commit a9cb26e423

View File

@ -51,12 +51,12 @@ energy by being more efficient than shell commands.
%autosetup
for f in contrib/*py; do
sed -i.orig "s:^#\!/usr/bin/env\s\+python\s\?$:#!%{__python3}:" $f
sed -i.orig "s:^#\!%{_bindir}/env\s\+python\s\?$:#!/usr/bin/python3:" $f
touch -r $f.orig $f
rm $f.orig
done
for f in contrib/*pl; do
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!%{__perl}:" $f
sed -i.orig "s:^#\!%{_bindir}/env\s\+perl\s\?$:#!/usr/bin/perl:" $f
touch -r $f.orig $f
rm $f.orig
done