No. I did not get a response to this question from this list. thank you, mark Date: Fri, 18 Mar 2011 06:46:18 -0700 From: mark_maule@xxxxxxxxx Subject: Re: having problems wrapping a simple jar file in rpm To: geeky2@xxxxxxxxxxx Mark: Did you ever get a response to this? I have a similar situation where I want to gather up a handful of files from various places on a build machine into an RPM and then install them into specific locations on a target machine. thanks From: mark meyer <geeky2@xxxxxxxxxxx> To: rpm-list@xxxxxxxxxxxxx Sent: Mon, March 7, 2011 1:50:25 PM Subject: having problems wrapping a simple jar file in rpm hello all, need help wrapping a simple jar file in an rpm. all of the examples i have found assume that you are going to create the rpm from source code. for my application - i already have the "built" jar file and want to distribute it to a user as an rpm. when i try to build the rpm - i get the following error: >> Processing files: maximus-2.0.0-1.i586 error: File not found: /home/mark/rpmbuild/BUILDROOT/maximus-2.0.0-1.i386/home/mark/PWMP-EJB.jar RPM build errors: File not found: /home/mark/rpmbuild/BUILDROOT/maximus-2.0.0-1.i386/home/mark/PWMP-EJB.jar << the single jar that i am trying to package up is really located in /home/mark/ on my build machine. also - how do i specify that the contents of the rpm should "land" in a specific directory - example /var/sns/install-2.5.0.9/ thank you, mark here is my spec file: mark@gecko3 rpmbuild > cat ./SPECS/mark.spec Summary: Maximus utility for handling everything Name: maximus Version: 2.0.0 Release: 1 License: GPL Group: Development/Tools %description %build %prep %install %clean %post %postrun echo -e "i am in postrun \n" %files %defattr(-,root,root,-) /home/mark/PWMP-EJB.jar here are the settings in my .rpmmacros file mark@gecko3 rpmbuild > cat ~/.rpmmacros %packager mark meyer <mmeyer@xxxxxxxxxxxxx> %vendor Primex Wireless %_topdir /home/mark/rpmbuild/ |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list