modify %patchxxx -p1 to %autosetup -p1

Signed-off-by: shenbowen <shenbowen@xfusion.com>
(cherry picked from commit 9348d50a510d0d3b4282720ee41099ffab9455f8)
This commit is contained in:
shenbowen 2023-05-09 12:00:54 +08:00
parent fb886040b0
commit a7aeedcdd6

View File

@ -1,6 +1,6 @@
Name: pin-gcc-client
Version: 0.4.1
Release: 7
Release: 8
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
@ -25,18 +25,7 @@ Patch10: 0010-PluginClient-Fix-the-bug-during-multi-process-compil.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
%patch10 -p1
%autosetup -p1
mkdir -p _build
cd _build
@ -73,6 +62,12 @@ find %{_libdir} -type f -name "*.so" -exec strip "{}" ";"
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog
* Tue May 09 2023 shenbowen <shenbowen@xfusion.com> - 0.4.1-8
- Type:SPEC
- ID:NA
- SUG:NA
- DESC:modify %patchxxx -p1 to %autosetup -p1
* Thu Apr 6 2023 dingguangya <dingguangya1@huawei.com> - 0.4.1-7
- Type:Update
- ID:NA