!10 fix build error for loongarch64
From: @zhangwenlong01 Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
56b71bb61a
9
tre.spec
9
tre.spec
@ -2,7 +2,7 @@
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
Name: tre
|
||||
Version: 0.8.0
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: BSD-2-Clause
|
||||
Source0: https://github.com/laurikari/tre/archive/%{commit}/tre-%{commit}.tar.gz
|
||||
Patch0: %{name}-chicken.patch
|
||||
@ -101,11 +101,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_includedir}/*
|
||||
|
||||
%files -n python3-%{name}
|
||||
%ifarch loongarch64
|
||||
%attr(0755,root,root) %{python3_sitearch}/tre.cpython-%{python3_version_nodots}.so
|
||||
%else
|
||||
%attr(0755,root,root) %{python3_sitearch}/tre.cpython-%{python3_version_nodots}*-%{_arch}-linux%{_gnu}.so
|
||||
%endif
|
||||
%{python3_sitearch}/tre-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%files -n agrep
|
||||
@ -113,6 +109,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_mandir}/man1/agrep.1*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 06 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.8.0-5
|
||||
- fix build error for loongarch64
|
||||
|
||||
* Sat Jul 22 2023 xu_ping <707078654@qq.com> - 0.8.0-4
|
||||
- Fix test failure
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user