From 4c7674747b61af498cbc9665dd57a5815849b8b6 Mon Sep 17 00:00:00 2001 From: Keith Maxwell Date: Wed, 6 May 2020 09:00:32 +0100 Subject: main/libevent: fix shebang in /usr/bin/event_rpcgen.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this change: $ dabuild sh $ sudo apk add libevent-dev >/dev/null && event_rpcgen.py /dev/null env: can't execute 'python': No such file or directory After this change: $ dabuild sh $ sudo apk add libevent-dev >/dev/null && event_rpcgen.py /dev/null Reading "/dev/null" ✂ --- main/libevent/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD index c1c25cf2cd..9de9f3175c 100644 --- a/main/libevent/APKBUILD +++ b/main/libevent/APKBUILD @@ -3,7 +3,7 @@ pkgname=libevent pkgver=2.1.11 _pkgver=$pkgver-stable -pkgrel=0 +pkgrel=1 pkgdesc="An event notification library" url="http://libevent.org/" arch="all" @@ -24,6 +24,7 @@ builddir="$srcdir/$pkgname-$_pkgver" prepare() { default_prepare + sed -i '1s|^#!/usr/bin/env python$|#!/usr/bin/python3|' event_rpcgen.py # help provides tracing work out correctly sed -i -e "s/@VERSION@/$pkgver-r$pkgrel/" *.pc.in } -- cgit v1.2.3