From ce79e81c785bb2d608a153d400e4a6f6c0677919 Mon Sep 17 00:00:00 2001 From: wangqiang Date: Tue, 14 Oct 2025 15:47:25 +0800 Subject: [PATCH] Fix srpm pack issue --- wpa_supplicant.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index 8ac755d..876634b 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -1,7 +1,7 @@ Name: wpa_supplicant Epoch: 1 Version: 2.11 -Release: 5 +Release: 6 Summary: A WPA Supplicant with support for WPA and WPA2 (IEEE 802.11i / RSN) License: BSD-3-Clause Url: https://w1.fi/wpa_supplicant/ @@ -10,11 +10,9 @@ Source1: build-config Source3: %{name}.service Source5: %{name}.logrotate -%if "%{?toolchain}" == "clang" Patch6001: Add-clang-support-for-qmake.patch -%endif Patch6002: backport-CVE-2024-5290.patch -Patch1: wpa_supplicant-Revert-Mark-authorization-completed-on-driver-indica.patch +Patch1: wpa_supplicant-Revert-Mark-authorization-completed-on-driver-indica.patch Patch2: CVE-2024-5290-lib_engine_trusted_path.patch BuildRequires: cmake(Qt5Core) @@ -43,7 +41,13 @@ Graphical User Interface for wpa_supplicant written using QT %package_help %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} -q +%if "%{?toolchain}" == "clang" +%patch 6001 -p1 +%endif +%patch 6002 -p1 +%patch 1 -p1 +%patch 2 -p1 %build %define _build_cmd__() %{make_build} %{?1:-C %1} %{?2} @@ -106,6 +110,9 @@ install -m644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5 %{_mandir}/man5/* %changelog +* Tue Oct 14 2025 wangqiang - 1:2.11-6 +- Fix srpm pack issue + * Wed Aug 06 2025 chenjianhu - 1:2.11-5 - Backport patch to fix CVE-2024-5290 -- Gitee