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

Axel Thimm Axel.Thimm at ATrpms.net
Sun Mar 18 00:08:02 CET 2007


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.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070318/61728fb3/attachment.bin 


More information about the atrpms-devel mailing list