!46 Remove useless patch

From: @wangbin224 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2024-05-23 07:25:42 +00:00 committed by Gitee
commit dcc368fc68
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 26 deletions

View File

@ -1,24 +0,0 @@
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
from io import open
--
1.8.3.1

View File

@ -1,6 +1,6 @@
%define _binaries_in_noarch_packages_terminate_build 0 %define _binaries_in_noarch_packages_terminate_build 0
%global release 2 %global release 3
%global _lib_path /usr/lib/firmware %global _lib_path /usr/lib/firmware
%global _license_path /usr/share/licenses %global _license_path /usr/share/licenses
@ -13,7 +13,6 @@ URL: http://www.kernel.org/
BuildArch: noarch BuildArch: noarch
Source0: https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.gz Source0: https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.gz
Patch1: change-python-script-shebang-to-python3.patch
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0 Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22 Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
@ -176,6 +175,9 @@ rm %{buildroot}/%{_lib_path}/{WHENCE,LICENCE.*,LICENSE.*}
%changelog %changelog
* Thu May 23 2024 wangbin <wangbin224@huawei.com> - 20240513-3
- linux-firmware-20240513 has changed python to python3, so remove this patch
* Thu May 23 2024 wangbin <wangbin224@huawei.com> - 20240513-2 * Thu May 23 2024 wangbin <wangbin224@huawei.com> - 20240513-2
- Reupload tar package to fix git lfs clone error - Reupload tar package to fix git lfs clone error