resaware_nri_plugins/resaware-nri-plugins.spec

32 lines
673 B
RPMSpec
Raw Normal View History

2024-11-09 09:16:21 +08:00
Name: resaware_nri_plugins
Version: 0.0.1
Release: 1%{?dist}
Summary: NRI Plugins
License: GPL
URL: https://gitee.com/openeuler/resaware_nri_plugins
Source0: %{name}-%{version}.tar.gz
2024-11-09 15:56:41 +08:00
BuildRequires: go
2024-11-09 09:16:21 +08:00
BuildRequires: make
%description
The Resource Aware Plugin is a set of plugins that provide flexible allocation of container resources based on the NRI interface.
%prep
%setup -q
%build
2024-11-09 15:56:41 +08:00
make build_binary
2024-11-09 09:16:21 +08:00
%install
install -d %{buildroot}/%{_libdir}
2024-11-09 15:56:41 +08:00
cp bin/nriplugin %{buildroot}/%{_libdir}
2024-11-09 09:16:21 +08:00
%files
2024-11-09 15:56:41 +08:00
%{_libdir}/nriplugin
2024-11-09 11:03:32 +08:00
%changelog
2024-11-09 15:56:41 +08:00
* Tue Nov 19 2024 hongxuming <2298061238@qq.com> - 0.0.1-1
2024-11-09 11:03:32 +08:00
- Initial package