Fix rpm build warning: %patchN is deprecated

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
(cherry picked from commit a28116d00e34bb4fbf7ba9ca9934a9a7e7c22916)
This commit is contained in:
Wang Jinchao 2024-11-01 04:03:22 +00:00 committed by openeuler-sync-bot
parent 8b6ff1a24f
commit bb4dafa233

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