mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Only have one spec file
This commit is contained in:
parent
d2b071e239
commit
a65678c534
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user