!4 [sync] PR-2: Enable build on riscv64

From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-03-24 11:01:18 +00:00 committed by Gitee
commit e957bbd2b9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,12 +2,12 @@
%global __cargo_skip_build 0 %global __cargo_skip_build 0
Name: nispor Name: nispor
Version: 1.0.1 Version: 1.0.1
Release: 1 Release: 2
Summary: Unified interface for Linux network state querying Summary: Unified interface for Linux network state querying
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/nispor/nispor URL: https://github.com/nispor/nispor
Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
ExclusiveArch: aarch64 x86_64 ExclusiveArch: aarch64 x86_64 riscv64
BuildRequires: make pkg-config python3-devel rust-packaging systemd-devel openEuler-rpm-config BuildRequires: make pkg-config python3-devel rust-packaging systemd-devel openEuler-rpm-config
%description %description
@ -99,5 +99,8 @@ rm -rf %{buildroot}%{cargo_registry}/%{name}-%{version}/
%{_libdir}/pkgconfig/nispor.pc %{_libdir}/pkgconfig/nispor.pc
%changelog %changelog
* Fri Mar 24 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.0.1-2
- Add riscv64 to ExclusiveArch
* Mon Sep 13 2021 huanghaitao <huanghaitao8@huawei.com> - 1.0.1-1 * Mon Sep 13 2021 huanghaitao <huanghaitao8@huawei.com> - 1.0.1-1
- package init - package init