In order to be able to build the rpms locally, I have added a 'mockchain' command to the Makefile.
One can now run make mockchain to build the rpms locally
Details
- Reviewers
kparal tflink mkrizek - Commits
- rLTRN00df40aa5b73: Added mockchain support to makefile
Tested several times, rpms deployed via Ansible
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
I don't know much about package building, so I'm not giving any review status here. A few comments below.
Makefile | ||
---|---|---|
75 | I would like to see at least a comment about what this is useful for, because I was utterly confused why mockbuild is not enough. | |
77 | I might be a good idea to move the package instead of copying it? Because standard mock dirs will clean themselves on their next use, but your custom mockchain dir will not. So either we should move the results out, or maybe even better to delete the temp directory after the build is complete? Otherwise some old packages will remain in there and they can affect future builds? |
I would like to see at least a comment about what this is useful for, because I was utterly confused why mockbuild is not enough.