From 1fea09e960d372c2367248c5f617273d9e1a1ac4 Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 12 Mar 2024 21:21:00 +0800 Subject: [PATCH] Update apparmor.spec Signed-off-by: madomado --- anda/lib/apparmor/apparmor.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/lib/apparmor/apparmor.spec b/anda/lib/apparmor/apparmor.spec index 882eebbdcd..95de3ef1e5 100644 --- a/anda/lib/apparmor/apparmor.spec +++ b/anda/lib/apparmor/apparmor.spec @@ -141,6 +141,7 @@ changehat abilities exposed through libapparmor. ver="%(echo %version | sed 's@~alpha@a@')" sed -i "s/@VERSION@/$ver/g" libraries/libapparmor/swig/python/setup.py.in +sed -i 's/${PYTHON} ${PYSETUP} install --prefix=${PYPREFIX} --root=${DESTDIR} --version=${VERSION}/${PYTHON} ${PYSETUP} install --prefix=${PYPREFIX} --root=${DESTDIR} --version="'$ver'"/' ./utils/Makefile %build export PYTHON=%{__python3}