Make sure to use the RHEL-lifetime supported Python and no other

/usr/bin/python3 can be specified by the users.  RHEL 8 packages should
never use it.

Resolves: RHEL-2225
This commit is contained in:
Miro Hrončok 2023-09-04 15:44:54 +02:00 committed by Debarshi Ray
parent 2591b14abf
commit f3a73d3e05

View File

@ -3,7 +3,7 @@
Name: flatpak Name: flatpak
Version: 1.10.8 Version: 1.10.8
Release: 1%{?dist} Release: 2%{?dist}
Summary: Application deployment framework for desktop apps Summary: Application deployment framework for desktop apps
License: LGPLv2+ License: LGPLv2+
@ -34,9 +34,9 @@ BuildRequires: docbook-style-xsl
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libassuan-devel BuildRequires: libassuan-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: python3.11-pyparsing BuildRequires: python3-devel
BuildRequires: python3-pyparsing
BuildRequires: systemd BuildRequires: systemd
BuildRequires: /usr/bin/python3
BuildRequires: /usr/bin/xmlto BuildRequires: /usr/bin/xmlto
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
@ -119,6 +119,8 @@ This package contains installed tests for %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1
# Make sure to use the RHEL-lifetime supported Python and no other
%py3_shebang_fix scripts/* variant-schema-compiler/*
%build %build
@ -246,6 +248,9 @@ fi
%changelog %changelog
* Mon Sep 04 2023 Miro Hrončok <mhroncok@redhat.com> - 1.10.8-2
- Make sure to use the RHEL-lifetime supported Python and no other (RHEL-2225)
* Tue Jul 11 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.10.8-1 * Tue Jul 11 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.10.8-1
- Rebase to 1.10.8 (#2222103) - Rebase to 1.10.8 (#2222103)
- Fix CVE-2023-28100 and CVE-2023-28101 (#2180311) - Fix CVE-2023-28100 and CVE-2023-28101 (#2180311)