diff --git a/pandora_console/pandora_console.redhat.spec b/pandora_console/pandora_console.redhat.spec index 57f77f00e6..b9e5a6b501 100644 --- a/pandora_console/pandora_console.redhat.spec +++ b/pandora_console/pandora_console.redhat.spec @@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/pandora_console mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ -cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_console +cp -aRf . $RPM_BUILD_ROOT%{prefix}/pandora_console rm $RPM_BUILD_ROOT%{prefix}/pandora_console/*.spec rm $RPM_BUILD_ROOT%{prefix}/pandora_console/pandora_console_install install -m 0644 pandora_console_logrotate_centos $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/pandora_console diff --git a/pandora_console/pandora_console.rhel7.spec b/pandora_console/pandora_console.rhel7.spec index 6f4394381f..3b482e5fd6 100644 --- a/pandora_console/pandora_console.rhel7.spec +++ b/pandora_console/pandora_console.rhel7.spec @@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/pandora_console mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ -cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_console +cp -aRf . $RPM_BUILD_ROOT%{prefix}/pandora_console rm $RPM_BUILD_ROOT%{prefix}/pandora_console/*.spec rm $RPM_BUILD_ROOT%{prefix}/pandora_console/pandora_console_install install -m 0644 pandora_console_logrotate_centos $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/pandora_console diff --git a/pandora_console/pandora_console.spec b/pandora_console/pandora_console.spec index a76a56e0fa..079471ba8a 100644 --- a/pandora_console/pandora_console.spec +++ b/pandora_console/pandora_console.spec @@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/pandora_console -cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_console +cp -aRf . $RPM_BUILD_ROOT%{prefix}/pandora_console if [ -f $RPM_BUILD_ROOT%{prefix}/pandora_console/pandora_console.spec ] ; then rm $RPM_BUILD_ROOT%{prefix}/pandora_console/pandora_console.spec fi