Fix the metrics-server spec file

The .spec file was only creating the Fluxcd files and it broke the
build.

Add creation of the armada files and it's app folder.

Closes-Bug: 1978143

Signed-off-by: Luiz Felipe Kina <LuizFelipe.EiskeKina@windriver.com>
Change-Id: I9c5a6639ae1d903f5cb83eb1b47c0faf9f99f072
This commit is contained in:
Luiz Felipe Kina 2022-06-09 10:37:07 -04:00
parent 03e2d54d7c
commit 465dd726a5

View File

@ -85,8 +85,14 @@ rm -fr %{app_staging}
%install
install -d -m 755 %{buildroot}/%{app_folder}
install -p -D -m 755 %{_builddir}/%{app_tarball_armada} %{buildroot}/%{app_folder}
install -p -D -m 755 %{_builddir}/%{app_tarball_fluxcd} %{buildroot}/%{app_folder}
%files
%defattr(-,root,root,-)
%{app_folder}/%{app_tarball_armada}
%files fluxcd
%defattr(-,root,root,-)
%{app_folder}/%{app_tarball_fluxcd}