From faf2d6b7316f5f2ec1fec31ae04533c8bcaef331 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 3 Nov 2020 20:53:42 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/python-rpm-generators.git#f328c9dd189053d0ceea722e28176261cf64fd15 --- python-rpm-generators.spec | 5 ++++- pythonbundles.py | 2 +- pythondistdeps.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) mode change 100644 => 100755 pythonbundles.py diff --git a/python-rpm-generators.spec b/python-rpm-generators.spec index 5da4f46..60811e5 100644 --- a/python-rpm-generators.spec +++ b/python-rpm-generators.spec @@ -1,7 +1,7 @@ Name: python-rpm-generators Summary: Dependency generators for Python RPMs Version: 11 -Release: 11%{?dist} +Release: 12%{?dist} # Originally all those files were part of RPM, so license is kept here License: GPLv2+ @@ -47,6 +47,9 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} *.py %{_rpmconfigdir}/pythonbundles.py %changelog +* Mon Oct 19 2020 Tomas Orsava - 11-12 +- Run scripts in an isolated Python environment (#1889080) + * Wed Jul 29 2020 Fedora Release Engineering - 11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/pythonbundles.py b/pythonbundles.py old mode 100644 new mode 100755 index 5093dff..96e817e --- a/pythonbundles.py +++ b/pythonbundles.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 -B +#!/usr/bin/python3 -sB # (imports pythondistdeps from /usr/lib/rpm, hence -B) # # This program is free software. diff --git a/pythondistdeps.py b/pythondistdeps.py index 1ca576b..70e08b8 100755 --- a/pythondistdeps.py +++ b/pythondistdeps.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python3 -s # -*- coding: utf-8 -*- # # Copyright 2010 Per Øyvind Karlsen