From 006486908c2055e22e6491c286af6c5b61fb305d Mon Sep 17 00:00:00 2001 From: shenbowen Date: Tue, 9 May 2023 12:46:26 +0800 Subject: [PATCH] modify %patchxxx -p1 to %autosetup -p1 Signed-off-by: shenbowen --- pin-gcc-client.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pin-gcc-client.spec b/pin-gcc-client.spec index e2ec9d6..25e4845 100644 --- a/pin-gcc-client.spec +++ b/pin-gcc-client.spec @@ -1,6 +1,6 @@ Name: pin-gcc-client Version: 0.1.0 -Release: 2 +Release: 3 Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. License: Apache 2.0 URL: https://gitee.com/src-openeuler/pin-gcc-client @@ -18,8 +18,8 @@ A Pin (Plug-IN framework) client is implemented based on GCC plugin and can exec %global debug_package %{nil} %prep -%setup -q -%patch0 -p1 +%autosetup -p1 + mkdir -p _build cd _build %{cmake} .. -DCMAKE_INSTALL_PREFIX=%{_usr} -DCMAKE_INSTALL_LIBDIR=%{_libdir} @@ -37,6 +37,12 @@ cd _build %attr(0755,root,root) %{_libdir}/libpin_gcc_client.so %changelog +* Thu May 11 2023 shenbowen - 0.1.0-3 +- Type:SPEC +- ID:NA +- SUG:NA +- DESC:modify %patchxxx -p1 to %autosetup -p1 + * Sat Aug 27 2022 liyancheng <412998149@qq.com> - 0.1.0-2 - Type:Bugfix - ID:NA -- Gitee