Instead of faking the RPM database into thinking Java is installed, you could try installing Java via rpm. Check it out here: http://www.jpackage.org/rpm.php?id=2663 You basically download the Java binary, manually copy it into /usr/src/redhat/SOURCES and then perform an rpmbuild to make the actual rpm. -----Original Message----- From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Dan Pritts Sent: Thursday, June 30, 2005 10:00 AM To: Robert Hanson Cc: centos@xxxxxxxxxx Subject: rpm spec file for "fakejava" Interestingly, i just posted to the list a similar SPEC file. look at the thread on CGI.pm. I've attached my spec file for "fakejava" as well. It was a lot of trial and error to make it work. None of the documentation I could find was for modern versions of RPM, and IIRC the documentation i did find for older versions was incorrect somehow. I think I had to specify a source package, but i didn't have to actually do anything with it. I'm cc'ing the list on this so it makes it into the archives. On Thu, Jun 30, 2005 at 08:53:06AM -0700, Robert Hanson wrote: > off list greetings! > > would you please share that expertise you just learned with me individually > or with the whole list please? > > that is, if it doesnt take you too long can you detail and share your > creation and how to use it etc that i may learn from it? > > thanks! > > - rh > > -----Original Message----- > From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf > Of Dan Pritts > Sent: Thursday, June 30, 2005 8:33 AM > To: CentOS mailing list > Subject: Re: Re: Installing Dag's RPMs > > On Tue, Jun 28, 2005 at 03:11:38PM -0700, dan.trainor wrote: > > cryptic nature. I've been doing a LOT of RPM exploration over the past > > few weeks, and found the process of actually creating an RPM to be a > > somewhat cumbersome and at times poorly documented system. I don't want > > Tell it, brother! > > I spent three hours figuring out how to write a spec file to create > an RPM that doesn't do anything other than tell the RPM database > that such and such a capability is installed (some java app didn't > think i have "java" since sun's rpms didn't tell RPM it was there). > > ugh. > > danno > -- > dan pritts - systems administrator - internet2 > 734/352-4953 office 734/834-7224 mobile > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > danno -- dan pritts - systems administrator - internet2 734/352-4953 office 734/834-7224 mobile