From c1cc0acdaf2a1bdd15b4056b396ee6757e21126e Mon Sep 17 00:00:00 2001 From: Marc Muehlfeld Date: Jan 09 2019 13:56:33 +0000 Subject: Issue 50130 - Building RPMs on RHEL8 fails Description: Due to an incorrect path in a "mv" command in 389-ds-base.spec.in, building RPMs on RHEL8 failed https://pagure.io/389-ds-base/issue/50130 Reviewed by: vashirov & wibrown --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index 8aee723..2526195 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -409,7 +409,7 @@ make DESTDIR="$RPM_BUILD_ROOT" install # Cockpit branding, and directory and file list %if 0%{?rhel} > 7 -mv -f %{buildroot}%{_datadir}/cockpit/389-console/src/rhds-banner.html %{buildroot}%{_datadir}/cockpit/389-console/src/banner.html +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