Cockpit problem fixed.

This commit is contained in:
2020-12-22 12:04:14 +01:00
parent b1db3c373a
commit 40a62ef9b4

View File

@@ -402,13 +402,6 @@ mkdir -p %{buildroot}%{_datadir}/cockpit
%endif
make DESTDIR="$RPM_BUILD_ROOT" install
# For cockpit, fix for npm not building on CentOS 8
%if %{use_cockpit}
pushd $RPM_BUILD_ROOT
tar xzf %{S:4}
popd
%endif
%if %{use_cockpit}
find %{buildroot}%{_datadir}/cockpit/389-console -type d | sed -e "s@%{buildroot}@@" | sed -e 's/^/\%dir /' > cockpit.list
find %{buildroot}%{_datadir}/cockpit/389-console -type f | sed -e "s@%{buildroot}@@" >> cockpit.list
@@ -670,7 +663,7 @@ fi
%changelog
* Tue Dec 22 2020 Daniel Steiner <daniel.steiner@threema.ch>
- Fix for cockpit console (npm does not compile the web conten). Prebuild content added
- Fix for cockpit console.
* Wed Dec 9 2020 Daniel Steiner <daniel.steiner@threema.ch>
- Update to latest version (1.4.4.9).