change python script shebang to python3

This commit is contained in:
wangbin 2020-02-21 15:44:04 +08:00
parent 7be383586c
commit c57131c861
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 1dfd5bcbe726900519ee832d784f1e8b749def22 Mon Sep 17 00:00:00 2001
From: yuxiangyang <yuxiangyang4@huawei.com>
Date: Thu, 20 Feb 2020 22:43:37 -0500
Subject: [PATCH] change firmware python script shebang to python3
Signed-off-by: yuxiangyang <yuxiangyang4@huawei.com>
---
check_whence.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/check_whence.py b/check_whence.py
index 662c609..66a2774 100755
--- a/check_whence.py
+++ b/check_whence.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import os, re, sys
--
1.8.3.1

View File

@ -1,6 +1,6 @@
%define _binaries_in_noarch_packages_terminate_build 0
%global release 3
%global release 4
%global _lib_path /usr/lib/firmware
%global _license_path /usr/share/licenses
@ -13,6 +13,7 @@ URL: http://www.kernel.org/
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
Patch1: change-python-script-shebang-to-python3.patch
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
Provides: iwl100-firmware = 39.31.5.1-87
@ -91,6 +92,9 @@ rm %{buildroot}/%{_lib_path}/{WHENCE,LICENCE.*,LICENSE.*}
%{_lib_path}/*
%changelog
* Fri Feb 21 2020 wangbin <wangbin224@huawei.com> - 20190815-4
- change python script shebang to python3
* Thu Jan 9 2020 wangbin <wangbin224@huawei.com> - 20190815-3
- Remove some patches