[ale] rpm's src vs binary and the confusion
Jim Kinney
jim.kinney at gmail.com
Mon Jun 3 07:17:35 EDT 2013
If you want the final location to be somewhere other than what the source
makefile provides, you add a patch to the spec and src.rpm that makes that
change.
The philosophy of rpm is pristine upstream sources with custom patches as
required.
On Sun, Jun 2, 2013 at 11:31 PM, Narahari 'n' Savitha
<savithari at gmail.com>wrote:
> Did you take a look at the document I linked in your last thread?
>
> ->Yes that is the basis on which I was working out the tomcat rpm
> and Thank You for that wonderful document.
>
>
> Third, %install... If you would prefer, add a makefile to your source tar
> and call its install target. Otherwise just manually move the files to
> where they need to go.
> ->So if I want the final install to be on /opt/apache-tomcat-7.0.37,
> I need to do that hard lifting myself right ? as in
> ->mkdir -p $RPM_BUILD_ROOT/opt
> ->cp -R /home/virtual/rpmbuild/BUILD/apache-tomcat-7.0.37
> $RPM_BUILD_ROOT/opt
>
> ->Will the above step then create the .rpm file ?
>
>
> I notice you don't have a %files manifest yet, that'll be next.
>
> ->I thought %files are dummy section, is that needed ?
>
>
> -Narahari
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
--
--
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130603/304a420f/attachment-0001.html>
More information about the Ale
mailing list