Dear Steve,
I'm
working in Java and I'm very new to Linux .I have some
problems problem building rpm for my
project .
1. First when I want to place the files to a specified directory then I wrote
install command in the %install section ,but it is being installed when
building the package itself.So, I moved that install command to the %post
section.Is this correct? Otherwise how to
install the files.
2.When installing all the files are being copied to the " /". How to place
the files in a directory other than " /".
3.When I'm using the "Requires" I'm having the failed dependencies problem even
though I have the required packages.I have read in some mail lists ,there I saw a solution to install all the files
in the same line to avoid dependencies but I want to install those packages with a non rpm file .And one more solution I found is create a file rpmrc in /etc/ and write the
package names there then I'm facing the problem to check the version.If I need
to check the version >= .How to do that?