On Tuesday 19 April 2005 11:22, Joe Votour wrote: > I've done it for the 0.17 release, but I don't have > access to the information while I'm at work (I only > enabled MythWeb access to my machine, not SSH). I > haven't done it for 0.18, I'm going to reinstall > everything before doing it for 0.18 (because I want to > install FC3 x86_64). > > But the basic jist of it is that you need to fetch the > macros and put them somewhere in /etc (I think the > directory under etc is rpm, or something else).
I put everything in ~/.rpmmacros and *never* build anything as root (can cause
Very Bad Things to happen if there's a bug in the spec...).
> I don't have the full details with me, but if somebody
> else hasn't posted how to do it, I'll put some quick
> instructions together and post them tonight.
The required macros have been posted on the atrpms-devel list a few times. The
only ones really necessary for building Myth packages are these:
%distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)
%distinitials rh%(grep -i fedora /etc/redhat-release >/dev/null && echo "fc")
%distname %(grep -i fedora /etc/redhat-release >/dev/null && echo "Fedora
Core" || echo "Red Hat Linux")
%disttag %{distinitials}%{distversion}
%disttag2 %(echo %disttag | sed -e's,\\.,_,g')
%atrelease() %1.%{disttag}.jw
Substitute your own initials or whatever you like for the %atrelease macro.
> My only reluctance to do this is that Axel might be
> bombarded with questions if the rebuilds fail or cause
> some strange behavior.
With just the above, I've never had a problem rebuilding.
> Axel, Jarod, if neither of you gets around to this
> before me, do either of you have any objections to me
> putting something together?
I don't mind, and I doubt if Axel minds. Its a goal of ATrpms to make the
packages more user-rebuildable.
--
Jarod Wilson
[EMAIL PROTECTED]
Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/
pgpRAXwUHPTzr.pgp
Description: PGP signature
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
