Sometime back I have attended one interview in which I was asked the following question: How do you build a RPM from the source? I couldn't understand the question, so asked. They asked, How will you make your own RPM; instead of using the standard RPM packages. I had no clue and replied that I don't have any idea.
Now could you please tell how can I do that? Assume that I'm an intermediate in Linux.