[ATrpms-devel] request for latest macros for mythtv-suite

Karl Grindley karl at spacechimp.net
Sun Mar 18 00:58:53 CET 2007

I'm compiling right now on EL4.4/Cent4.4.  I'm specifically working to 
compile up myth frontend to work on an embedded platform with limited 
memory.  There's an "--enable-small" flag, as well as some others of 
interest.  While I've done this before when i had core3 running on these 
boxes, i hacked up the spec file pretty good.  If such a conditional was 
in place going forward, it would make recompile easier for the next 
major distribution version upgrade.


Axel Thimm wrote:
> On Sat, Mar 17, 2007 at 06:31:58PM -0400, Karl Grindley wrote:
>> Would it be possible to get a copy of the latest atrpms macros? 
>> (specifically for recompiling the mythtv-suite rpm)
> If you are using FC6 or similar: Add to /etc/rpm/macros
> %eversion       %{?epoch:%{epoch}:}%{version}
> %evr            %{?epoch:%{epoch}:}%{version}-%{release}
> %_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
> %_x_prefix /usr
> %_x_includes %{_includedir}
> %_x_libraries %{_libdir}
> %_x_module_path %{_libdir}/xorg/modules
> You'll also need to make sure you don't build under /usr,
> e.g. %builddir needs to be somewhere else.
>> Also, looking at the source file, I'm thinking of adding some more bcond 
>> options at the top for some of the other compile flags.  Are you guys 
>> open to contributions?  I'd be happy to generate a patch and submit it 
>> up when I'm finished.
> Yes, of course, what where you thinking of turning into a conditional?
> I'm trying to keep usage of conditionals low.

More information about the atrpms-devel mailing list