!36 [sync] PR-32: Add source in .spec to fix issue about self-compilation failure

From: @openeuler-sync-bot 
Reviewed-by: @liu-yuntao-10 
Signed-off-by: @liu-yuntao-10
This commit is contained in:
openeuler-ci-bot 2024-04-11 02:40:30 +00:00 committed by Gitee
commit 4efceec6a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,12 +3,13 @@
%global __cargo_common_opts %{?__cargo_common_opts} --all %global __cargo_common_opts %{?__cargo_common_opts} --all
Name: native-turbo Name: native-turbo
Version: 1.0.0 Version: 1.0.0
Release: 6 Release: 7
Summary: Numa Aware Scheduling Summary: Numa Aware Scheduling
License: Mulan PSL v2 License: Mulan PSL v2
URL: https://gitee.com/openeuler/native-turbo URL: https://gitee.com/openeuler/native-turbo
Source0: %{name}.tar.xz Source0: %{name}.tar.xz
Source1: objreloc.sh
BuildRequires: meson >= 0.49.2, clang >= 12.0.1 BuildRequires: meson >= 0.49.2, clang >= 12.0.1
BuildRequires: make >= 4.0, bison >= 2.7, binutils >= 2.30-17, gcc >= 10.3.1 BuildRequires: make >= 4.0, bison >= 2.7, binutils >= 2.30-17, gcc >= 10.3.1
@ -81,6 +82,12 @@ install -m 755 $RPM_BUILD_DIR/objreloc $RPM_BUILD_ROOT%{_bindir}/
%doc %doc
%changelog %changelog
* Thu Sep 7 2023 yangpan <yangpan51@huawei.com> - 1.0.0-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: fix issue about self-compilation failure
* Tue Aug 29 2023 liutie <liutie4@huawei.com> - 1.0.0-6 * Tue Aug 29 2023 liutie <liutie4@huawei.com> - 1.0.0-6
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA