diff --git a/monitor-helm-elastic/centos/monitor-helm-elastic.spec b/monitor-helm-elastic/centos/monitor-helm-elastic.spec index f4f78a3..3fc5ab2 100644 --- a/monitor-helm-elastic/centos/monitor-helm-elastic.spec +++ b/monitor-helm-elastic/centos/monitor-helm-elastic.spec @@ -37,7 +37,7 @@ BuildRequires: chartmuseum Monitor Helm elasticsearch charts %prep -%setup -n helm-charts-elastic +%setup -n %(tar tf %SOURCE0 | head -1) %patch01 -p1 %patch02 -p1 %patch03 -p1 diff --git a/monitor-helm/centos/monitor-helm.spec b/monitor-helm/centos/monitor-helm.spec index d7268a7..269a941 100644 --- a/monitor-helm/centos/monitor-helm.spec +++ b/monitor-helm/centos/monitor-helm.spec @@ -44,7 +44,7 @@ BuildRequires: chartmuseum Monitor Helm charts %prep -%setup -n helm-charts +%setup -n %(tar tf %SOURCE0 | head -1) %patch01 -p1 %patch02 -p1 %patch03 -p1