Issue 50680 - Remove branding from upstream spec file

This commit is contained in:
Viktor Ashirov 2020-01-27 21:55:48 +01:00
parent 00c5c5cf49
commit 5b5bb920d2

View File

@ -377,10 +377,6 @@ mkdir -p %{buildroot}%{_datadir}/gdb/auto-load%{_sbindir}
mkdir -p %{buildroot}%{_datadir}/cockpit
make DESTDIR="$RPM_BUILD_ROOT" install
# Cockpit branding, and directory and file list
%if 0%{?rhel} > 7
mv -f %{buildroot}%{_datadir}/cockpit/389-console/rhds-banner.html %{buildroot}%{_datadir}/cockpit/389-console/banner.html
%endif
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