Hi,

I am trying to create rpm binary package for my java application.

I am createing rpm directory in /home/ragu/rpm

In that rpm directory,
BUILD,RPMS,RPMS/x86_64, SOURCES,SOURCES,SRPMS folders created by me.

In spec file, I confused with RPM_BUILD_ROOT.

what is RPM_BUILD_ROOT and can I give RPM_BUILD_ROOT=/home/ragu/rpm

I want to install one C application directore in my home and run the make to create an excutable for thet c application.

Do I need to wirite any script for that or can I write all inside spec file.

thank you.