From 0eec4c2d2dd68390081a876a3b91403ba7f684ac Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Jan 28 2020 08:35:48 +0000 Subject: Issue 50680 - Remove branding from upstream spec file --- diff --git a/389-ds-base.spec b/389-ds-base.spec index d0f0935..81c84ae 100644 --- a/389-ds-base.spec +++ b/389-ds-base.spec @@ -375,10 +375,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