!41 [sync] PR-39: fix build error on sw_64 mips64el

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2025-03-07 04:10:49 +00:00 committed by Gitee
commit d44c848117
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,12 @@
Name: libipt
Version: 2.1
Release: 2
Release: 3
Summary: Intel(R) Processor Trace Decoder Library
License: BSD
URL: https://github.com/intel/libipt
Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz
BuildRequires: gcc-c++ cmake
ExclusiveArch: %{ix86} x86_64 loongarch64
ExclusiveArch: %{ix86} x86_64 loongarch64 sw_64 mips64el
%description
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
@ -17,7 +17,7 @@ or it can be partially or fully integrated into your tool.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
ExclusiveArch: %{ix86} x86_64 loongarch64
ExclusiveArch: %{ix86} x86_64 loongarch64 sw_64 mips64el
%description devel
This package contains the development files for Intel Processor Trace (Intel PT)
@ -51,6 +51,9 @@ ctest -V %{?_smp_mflags}
%{_libdir}/%{name}.so
%changelog
* Thu Mar 06 2025 mahailiang <mahailiang@uniontech.com> - 2.1-3
- fix build error on sw_64 mips64el
* Tue Oct 29 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.1-2
- fix build error on loongarch64