On May 12, 2005, at 7:37 PM, karsten wrote:

Further to the spec files (you MUST be tired of me now :-)

Nah, I'm more tired of rpm macros that I forget not everyone has. :-)

myththemes-0.18.1.spec defines evr
while
mythplugins defines eversion

I'll bet it is the same thing.

Not quite. From my .rpmmacros:

%eversion       %{?epoch:%{epoch}:}%{version}
%evr            %{?epoch:%{epoch}:}%{version}-%{release}

And might as well just toss these in while I'm at it:

%_initdir       %{_sysconfdir}/rc.d/init.d
%_varlibdir     %{_localstatedir}/lib
%_varcachedir   %{_localstatedir}/cache
%_logdir                %{_localstatedir}/log
%_rundir                %{_localstatedir}/run
%_subsysdir     %{_localstatedir}/lock/subsys
%_sysconfigdir  %{_sysconfdir}/sysconfig
%_logrotatedir  %{_sysconfdir}/logrotate.d


I defined those in the spec file to 0.18.1 and got all packages compiled.
Next is - of course - how it works - if I got it compiled correctly :-)

Heh, how it works is what I'm more concerned about, since most folks won't likely be building their own, but the feedback is still appreciated. Ideally, it'd be great if one could use 'rpmbuild -ta mythtv-0.X.Y.tar.bz2' and produce functional rpms without needing any macros.

--
Jarod Wilson
[EMAIL PROTECTED]


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to