From 292442ee76a5e8a0e0d0325ec0df3df4fe543efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 14:35:28 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- distributed-utils.spec | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/distributed-utils.spec b/distributed-utils.spec index dd23c76..84d04cc 100644 --- a/distributed-utils.spec +++ b/distributed-utils.spec @@ -23,7 +23,7 @@ Name: distributed-utils Version: 1.0.0 -Release: 2 +Release: 3 Summary: Distributed middleware used components. License: Apache-2.0 Url: https://gitee.com/openharmony/ @@ -98,19 +98,19 @@ rm -rf %{_builddir}/third_party/mbedtls/* %setup -q -D -T -a 15 -c -n %{dataclassification_dir}/.. %setup -q -D -T -a 16 -c -n %{device_security_level_dir}/.. -%patch0 -p1 -d %{c_utils_dir} -%patch1 -p1 -d %{config_policy_dir} -%patch2 -p1 -d %{dsoftbus_dir} -%patch3 -p1 -d %{eventhandler_dir} -%patch4 -p1 -d %{ipc_dir} -%patch5 -p1 -d %{safwk_dir} -%patch6 -p1 -d %{samgr_dir} -%patch7 -p1 -d %{sqlite_dir} -%patch8 -p1 -d %{huks_dir} -%patch9 -p1 -d %{device_auth_dir} -%patch10 -p1 -d %{mbedtls_dir} -%patch11 -p1 -d %{device_manager_dir} -%patch12 -p1 -d %{device_security_level_dir} +%patch 0 -p1 -d %{c_utils_dir} +%patch 1 -p1 -d %{config_policy_dir} +%patch 2 -p1 -d %{dsoftbus_dir} +%patch 3 -p1 -d %{eventhandler_dir} +%patch 4 -p1 -d %{ipc_dir} +%patch 5 -p1 -d %{safwk_dir} +%patch 6 -p1 -d %{samgr_dir} +%patch 7 -p1 -d %{sqlite_dir} +%patch 8 -p1 -d %{huks_dir} +%patch 9 -p1 -d %{device_auth_dir} +%patch 10 -p1 -d %{mbedtls_dir} +%patch 11 -p1 -d %{device_manager_dir} +%patch 12 -p1 -d %{device_security_level_dir} # build all components with build.sh %build @@ -208,6 +208,9 @@ cp -rvf single_include/nlohmann %{buildroot}/%{_includedir}/nlohmann_json/single /usr/bin/* %changelog +* Mon Dec 16 2024 litian - 1.0.0-3 +- fix %patchN is deprecated warning + * Wed Jun 21 2023 Ge Wang - 1.0.0-2 - replace buildrequire from openssl to compat-openssl11 -- Gitee