I have looked all over the Internet for an answer on this and am unable to get anything for it. I am building my own RPM and I need it to unpack certain files to specific directories. These directories belong to user support
and should therefore be mapped to: ~/exporttool
, ~/bin
, and ~/jlog
(/home/support/directory
). But when I run the command to build the rpm:
rpmbuild -v -bb SPEC/supportScripts.spec
I get this:
File not found: /root/rpmbuild/BUILDROOT/supportScripts-0.1-1.x86_64/home/support/exporttool/cmd2
File not found: /root/rpmbuild/BUILDROOT/supportScripts-0.1-1.x86_64/home/support/exporttool/cmd
File not found: /root/rpmbuild/BUILDROOT/supportScripts-0.1-1.x86_64/home/support/exporttool/cmd8
File not found: /root/rpmbuild/BUILDROOT/supportScripts-0.1-1.x86_64/home/support/exporttool/exportToTransferSyntax.sh
I have in this link the spec file. Can someone please tell me what I am doing wrong and how can I configure the spec file to map correctly to /home/support/directoryOfWhereFilesShouldGo