diff --git a/asciidoc.changes b/asciidoc.changes index 413de50..4cf0863 100644 --- a/asciidoc.changes +++ b/asciidoc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 11 07:50:00 UTC 2024 - Daniel Garcia + +- Remove python3 shebang from sitelib files (bsc#1212476) + ------------------------------------------------------------------- Thu Jun 23 11:33:12 UTC 2022 - Dominique Leuenberger diff --git a/asciidoc.spec b/asciidoc.spec index 6bb8060..6fa1eb6 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package asciidoc # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -82,7 +82,9 @@ latex dependencies that we don't want to have by default. So this package is opt %prep %setup -q -n asciidoc-%{version} # do not use env -find ./ -name \*.py -exec sed -i -e 's:/usr/bin/env\ :%{_bindir}/:g' {} \; +# Remove python shebang from sitelib files, this will remove the +# automatic dependency on /usr/bin/python3 +find asciidoc -name \*.py -exec sed -i -e '/\/usr\/bin\/env/d' {} \; %if "%{flavor}" == "latextest" %build