modify spec:
This commit is contained in:
parent
112cfbd676
commit
8c8a2f44a0
@ -7,7 +7,7 @@ License: GPL
|
||||
URL: https://gitee.com/openeuler/resaware_nri_plugins
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: docker
|
||||
BuildRequires: go
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
@ -17,16 +17,15 @@ The Resource Aware Plugin is a set of plugins that provide flexible allocation o
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CONTAINER_TOOL="docker" make docker-build
|
||||
CONTAINER_TOOL="docker" make pack
|
||||
make build_binary
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_libdir}
|
||||
cp bin/nriplugin.tar %{buildroot}/%{_libdir}
|
||||
cp bin/nriplugin %{buildroot}/%{_libdir}
|
||||
|
||||
%files
|
||||
%{_libdir}/nriplugin.tar
|
||||
%{_libdir}/nriplugin
|
||||
|
||||
%changelog
|
||||
* Tue Nov 19 2024 hongxuming <2298061238@qq.com> - 1
|
||||
* Tue Nov 19 2024 hongxuming <2298061238@qq.com> - 0.0.1-1
|
||||
- Initial package
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user