Ok, so I am getting ready to build my first rpm for nagios-3.0.6 I have not created a .rpmmacros file do I just create one from scratch or will it build an .rpmmacros for me when I run
rpmbuild -ba nagios-3.0.6.tar.gz ? If I do need to create it where do I put it? What other directories do i need to build and where do I build them?
also I found the following on DAG:Building RPM packages
You can do this by adding the following to ~/.rpmmacros.
%_topdir /home/dag/redhat/
As a consequence, RPM will need the default directory structure underneath. So you can do as user:
mkdir -p ~/redhat/{BUILD,RPMS/{i386,i686,noarch},SOURCES,SPECS,SRPMS}
I have questions about this stuff...what is this "~" and what does it mean? and what about the mkdir command above are those things in the {} options?
What is the difference between BUILD and RPMS and i386,i686, and noarch?
thanks for the education...
Natalie
