On Thu, Mar 17, 2011 at 9:20 AM, Axel Thimm <[email protected]> wrote:

> On Mon, 2011-03-14 at 10:32 -0400, Brian Long wrote:
> > I was wondering if the build scripts used to pull mythtv from git and
> > modify the mythtv.spec file are available on atrpms.net.  I was hoping
> > to adapt those techniques for use in another RPM without reinventing
> > the wheel.  Thanks!
>
> The "scripts" to do this aren't that complicated, the part of  modifying
> the spec file is a "script" called Axel ;)
> (more seriously it turns out that there are necessary changes almost on
> every master rebuild as the configure options and the set of produced
> files change)
> The script to pull the sources from git is just git pull/git checkout -v
> master and tar --exclude=.git -jpxf file.tar.bz2 dir. If you don't care
> about src.rpm file size you don't even need to bother with the .git
> exclusion.
>

I was looking at this site and wondered if you were doing something similar
outside the spec file:
http://twiki.mdklinuxfaq.org/en/Rpmbuild_and_git#Packaging_directly_from_git

/Brian/
_______________________________________________
atrpms-devel mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

Reply via email to