diff --git a/cli/lazyblob/lazyblob.go b/cli/lazyblob/lazyblob.go index f195932..669f106 100644 --- a/cli/lazyblob/lazyblob.go +++ b/cli/lazyblob/lazyblob.go @@ -81,7 +81,7 @@ func (l *lazyblob) download(ctx context.Context) error { return errors.Wrap(err, "error creating directory structure") } - l.tempFile, err = os.CreateTemp(l.tempDir, "package_*.rpm.tmp") + l.tempFile, err = os.CreateTemp(l.tempDir, "package_*.tmp") if err != nil { return errors.Wrap(err, "error creating temporary file") } diff --git a/cli/lazyblob/lazyblob_test.go b/cli/lazyblob/lazyblob_test.go index a59d6ff..79552a8 100644 --- a/cli/lazyblob/lazyblob_test.go +++ b/cli/lazyblob/lazyblob_test.go @@ -41,7 +41,7 @@ func TestLazyblob(t *testing.T) { fn, err := lb.Filename(ctx) r.NoError(err) - r.True(strings.HasSuffix(fn, ".rpm.tmp")) + r.True(strings.HasSuffix(fn, ".tmp")) fp, err := lb.Reader(ctx) r.NoError(err)