From 3b745e95b0edb31b5afbb48af40d1f374ecd705e Mon Sep 17 00:00:00 2001 From: shenbowen Date: Tue, 9 May 2023 12:42:33 +0800 Subject: [PATCH] modify %patchxxx -p1 to %autosetup -p1 Signed-off-by: shenbowen --- pin-gcc-client.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pin-gcc-client.spec b/pin-gcc-client.spec index 28f4865..e54df9d 100644 --- a/pin-gcc-client.spec +++ b/pin-gcc-client.spec @@ -1,6 +1,6 @@ Name: pin-gcc-client Version: 0.4.1 -Release: 6 +Release: 7 Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gitee.com/src-openeuler/pin-gcc-client @@ -24,17 +24,7 @@ Patch9: 0009-Pin-gcc-client-Fix-TreeToValue-VAR_DECL-and-ARRAY_TY.patch A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. %prep -%setup -q - -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 +%autosetup -p1 mkdir -p _build cd _build @@ -71,6 +61,12 @@ find %{_libdir} -type f -name "*.so" -exec strip "{}" ";" %config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf %changelog +* Thu May 11 2023 shenbowen - 0.4.1-7 +- Type:SPEC +- ID:NA +- SUG:NA +- DESC:modify %patchxxx -p1 to %autosetup -p1 + * Sat 25 2023 dingguangya - 0.4.1-6 - Type:Update - ID:NA -- Gitee