Re: Build scripts?

Axel Thimm <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <[email protected]>
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.
-- 
http://thimm.gr/ - http://ATrpms.net/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk2CCpIACgkQQBVS1GOamfH4oQCdGK69UyeVaLOFaeB0ofSbffVd
P/cAmgMjSpSzOTe0c7SDqT8LSUIdlbWf
=AHqy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.