fixed bz#1348507, pyqt5 with python2 in isolated mode
This commit is contained in:
parent
f74647474b
commit
c1ab788aba
@ -3,6 +3,6 @@
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
exec @PYTHON3@ -Im PyQt5.pylupdate_main ${1+"$@"}
|
exec @PYTHON3@ -Im PyQt5.pylupdate_main ${1+"$@"}
|
||||||
else
|
else
|
||||||
exec @PYTHON2@ -Esm PyQt5.pylupdate_main ${1+"$@"}
|
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.pylupdate_main; PyQt5.pylupdate_main.main()" ${1+"$@"}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
exec @PYTHON3@ -Im PyQt5.pyrcc_main ${1+"$@"}
|
exec @PYTHON3@ -Im PyQt5.pyrcc_main ${1+"$@"}
|
||||||
else
|
else
|
||||||
exec @PYTHON2@ -Esm PyQt5.pyrcc_main ${1+"$@"}
|
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.pyrcc_main; PyQt5.pyrcc_main.main()" ${1+"$@"}
|
||||||
fi
|
fi
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Summary: PyQt5 is Python bindings for Qt5
|
Summary: PyQt5 is Python bindings for Qt5
|
||||||
Name: python-qt5
|
Name: python-qt5
|
||||||
Version: 5.9
|
Version: 5.9
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
# all BSD, except for GPLv2+ dbus bindings and examples
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
@ -456,6 +456,9 @@ sed -i \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 27 2017 Than Ngo <than@redhat.com> - 5.9-4
|
||||||
|
- fixed bz#1348507, pyqt5 with python2 in isolated mode
|
||||||
|
|
||||||
* Wed Jul 26 2017 Than Ngo <than@redhat.com> - 5.9-3
|
* Wed Jul 26 2017 Than Ngo <than@redhat.com> - 5.9-3
|
||||||
- fixed bz#1348507 - Arbitrary code execution due to insecure loading
|
- fixed bz#1348507 - Arbitrary code execution due to insecure loading
|
||||||
of Python module from CWD
|
of Python module from CWD
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
exec @PYTHON3@ -Im PyQt5.uic.pyuic ${1+"$@"}
|
exec @PYTHON3@ -Im PyQt5.uic.pyuic ${1+"$@"}
|
||||||
else
|
else
|
||||||
exec @PYTHON2@ -Esm PyQt5.uic.pyuic ${1+"$@"}
|
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.uic.pyuic; PyQt5.uic.pyuic.main()" ${1+"$@"}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user