Skip to content

Commit

Permalink
Update apparmor.spec
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Mar 12, 2024
1 parent 34723ca commit 1fea09e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions anda/lib/apparmor/apparmor.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1fea09e

Please sign in to comment.