Only have one spec file

This commit is contained in:
Mustafa Gezen 2021-04-26 12:59:05 +02:00
parent d2b071e239
commit a65678c534

View File

@ -320,6 +320,11 @@ func ProcessRPM(pd *data.ProcessData) {
log.Fatalf("could not write target spec: %v", err)
}
_ = targetFile.Close()
err = w.Filesystem.Remove(link)
if err != nil {
log.Fatalf("could not remove link: %v", err)
}
}
lastFilesToAdd := []string{".gitignore", "SPECS"}