In this tutorial we will discuss howto unpack source rpm’s, generate a patch with diff command from the changed sources and create a new rpm, tihs case you aready have the src-rpm and need to patching the SRPM. I assume you have the non-root build environment set up as per previous tutorial building an RPM without having root access
today i will represent simple trick to building an RPM without having root access. You can build it in your home directory
In this tutorial we will see how to create the RPM build directories and how to setup your ~/.rpmmacros
The .rpmmacros file is used by rpmbuild to provide defaults. You may find references to the .rpmrc file, but it has been deprecated in favor of this file.