diff --git a/virt-manager.spec b/virt-manager.spec index f928f5f..07a7311 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -1,6 +1,6 @@ Name: virt-manager Version: 2.2.1 -Release: 1mamba +Release: 2mamba Summary: Virtual Machine Manager Group: Applications/Emulators Vendor: openmamba @@ -53,13 +53,6 @@ An embedded VNC client viewer presents a full graphical console to the guest dom #%patch1 -p1 #%patch2 -p1 -# Replace '#!/usr/bin/env python3' with '#!/usr/bin/python3' -# The format is ideal for upstream, but not a distro. See: -# https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython -for f in $(find %{buildroot} -type f -executable -print); do - sed -i "1 s|^#!/usr/bin/env python3|#!%{__python36}|" $f || : -done - %build CFLAGS="%{optflags}" %{__python36} setup.py build @@ -71,6 +64,13 @@ CFLAGS="%{optflags}" %{__python36} setup.py build --install-headers=%{_includedir}/python%{python36_version} \ --install-lib=%{python36_sitearch} +# Replace '#!/usr/bin/env python3' with '#!/usr/bin/python3' +# The format is ideal for upstream, but not a distro. See: +# https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython +for f in $(find %{buildroot} -type f -executable -print); do + sed -i "1 s|^#\!/usr/bin/env python3|#\!%{__python36}|" $f || : +done + %find_lang %{name} #rm -fr %{buildroot}/var/scrollkeeper @@ -135,6 +135,9 @@ exit 0 # ChangeLog NEWS README TODO %changelog +* Thu Dec 12 2019 Silvan Calarco 2.2.1-2mamba +- fix for python36 shebang replacements + * Fri Oct 04 2019 Automatic Build System 2.2.1-1mamba - automatic version update by autodist