!18 [sync] PR-16: 修复rpmbuild告警%patchN is deprecated

From: @openeuler-sync-bot 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2025-03-10 02:39:03 +00:00 committed by Gitee
commit 8765849880
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -19,7 +19,7 @@
Name: openssl_tpm2_engine
Version: 2.4.2
Release: 2
Release: 3
Summary: OpenSSL TPM 2.0 interface engine plugin
License: LGPL-2.1-only
Group: Productivity/Security
@ -41,8 +41,7 @@ Trusted Platform Module version 2.0 found on newer machines and a
create_tpm2_key helper binary to create and extract a TPM key.
%prep
%setup -q
%patch0 -p1
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -fiv
@ -66,6 +65,9 @@ find * -name \*.so -printf "/%p\n" > $CWD/%{EXTRA_FILES}
%changelog
* Fri Nov 1 2024 Wang Jinchao <wangjinchao@xfusion.com> - 2.4.2-3
- Fix rpm build warning: %patchN is deprecated
* Tue Feb 7 11:48:56 CET 2023 - Roberto Sassu <roberto.sassu@huawei.com>
- Add Add-openssl-3-support.patch to fix a build issue