--On Tuesday, October 04, 2005 12:58 PM -0400 Randy Gordey <[EMAIL PROTECTED]> wrote:

-Copyright: GPL
+License: GPL

Copyright is a deprecated tag since RPM 4.0. (I just checked my archive of the rpm-devel list to find that out.)

However, I am not savvy enough to specify the build environment as the
source location for the install. The 'patch' seemed to work for the
correct location as specified but three 'install' lines choke finding the
right path.

Question: How can I make my rpm without having those three files handy
outside the .tgz? Is this how it is suppose to work?

If the files are in the main tarball, they unpack into the BUILD subdirectory, which is where each scriptlet starts. Put an "exit 1" at the end of the %install section to force it to die with an error, then inspect the script in /var/lib/rpm that it dropped to see what environment you have. You can probably just do something like:

install package/redhat/foo $RPM_BUILD_ROOT/where/to/put/it

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to