List of files provided by .rpm is hardcoded into .spec file. Needs to be auto-generated on running the script, or else inclusion of future file changes may break the process.
Difficulties noted:
Files in the .spec need to have the root directory of / as though they will appear on the installed machine
Pulling a list using find or ls will require removing the current leading directory path up to BUILDROOT
In publishing-linux.sh @ preparation of .spec file
Currently:
List of files provided by .rpm is hardcoded into .spec file. Needs to be auto-generated on running the script, or else inclusion of future file changes may break the process.
Difficulties noted:
find
orls
will require removing the current leading directory path up to BUILDROOT