Fix monitor-helm* specfiles for new tarballs
Newer tarballs generated from github contain a different top-level
directory than what are currently contained in the CENGN mirror cache.
By parsing the first entry in the tarball we can figure out the
proper directory.
Tested by building both the new and old tarballs and verifing the
RPM builds correctly and the log file has correct directory.
Change-Id: Ie484cb2f5c615917afd320749ab3e68c8f7a8daa
Closes-Bug: 1857049
Signed-off-by: Saul Wold <sgw@linux.intel.com>
(cherry picked from commit 3d8669b6e9
)
This commit is contained in:
parent
c370485af2
commit
71d0c5bcba
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue