From a9cb26e4234bc25877f8bda1d363ff1b2e6136c35898f4b15c0f4bbbcce914c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 5 Nov 2019 09:36:30 +0000 Subject: [PATCH] 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 --- i3status.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3status.spec b/i3status.spec index 8f23fd7..fb3d2c5 100644 --- a/i3status.spec +++ b/i3status.spec @@ -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