diff --git a/components/provisioning/warewulf-cluster/SPECS/warewulf-cluster.spec b/components/provisioning/warewulf-cluster/SPECS/warewulf-cluster.spec index 1ce5277cd9..431e8eb23a 100644 --- a/components/provisioning/warewulf-cluster/SPECS/warewulf-cluster.spec +++ b/components/provisioning/warewulf-cluster/SPECS/warewulf-cluster.spec @@ -115,6 +115,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libexecdir}/warewulf/wwfirstboot/* rm -rf $RPM_BUILD_ROOT %files +cd %{dname} %defattr(-, root, root) %{OHPC_HOME} %{OHPC_PUB} diff --git a/components/provisioning/warewulf-common/SPECS/warewulf-common.spec b/components/provisioning/warewulf-common/SPECS/warewulf-common.spec index 99a7556f93..391e0de52d 100644 --- a/components/provisioning/warewulf-common/SPECS/warewulf-common.spec +++ b/components/provisioning/warewulf-common/SPECS/warewulf-common.spec @@ -102,6 +102,7 @@ rm -rf $RPM_BUILD_ROOT %files +cd %{dname} %defattr(-, root, root) %{OHPC_HOME} %{OHPC_PUB} diff --git a/components/provisioning/warewulf-ipmi/SPECS/warewulf-ipmi.spec b/components/provisioning/warewulf-ipmi/SPECS/warewulf-ipmi.spec index e14f54df15..b2e9da69ff 100644 --- a/components/provisioning/warewulf-ipmi/SPECS/warewulf-ipmi.spec +++ b/components/provisioning/warewulf-ipmi/SPECS/warewulf-ipmi.spec @@ -77,6 +77,7 @@ rm -rf $RPM_BUILD_ROOT %files +cd %{dname} %defattr(-,root,root) %{OHPC_PUB} %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO diff --git a/components/provisioning/warewulf-provision/SPECS/warewulf-provision.spec b/components/provisioning/warewulf-provision/SPECS/warewulf-provision.spec index 129e7eb0fd..16b30da40b 100644 --- a/components/provisioning/warewulf-provision/SPECS/warewulf-provision.spec +++ b/components/provisioning/warewulf-provision/SPECS/warewulf-provision.spec @@ -139,6 +139,7 @@ rm -rf $RPM_BUILD_ROOT %files +cd %{dname} %defattr(-, root, root) %{OHPC_PUB} %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO LICENSE diff --git a/components/provisioning/warewulf-vnfs/SPECS/warewulf-vnfs.spec b/components/provisioning/warewulf-vnfs/SPECS/warewulf-vnfs.spec index 48937ac07a..873dc875d7 100644 --- a/components/provisioning/warewulf-vnfs/SPECS/warewulf-vnfs.spec +++ b/components/provisioning/warewulf-vnfs/SPECS/warewulf-vnfs.spec @@ -84,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT %files +cd %{dname} %defattr(-,root,root) %{OHPC_HOME} %{OHPC_PUB}