On Fri, Mar 31, 2006 at 01:59:54PM -0500, Derek Atkins wrote:
> Axel Thimm <[EMAIL PROTECTED]> writes:
> 
> > What's wrong with http://atrpms.net/name/ivtv_xdriver/ ? :)
> 
> What's wrong is that I can't rebuild from the provided SRPMS because
> they use non-standard RPM Macros...  So "rpmbuild --rebuild" fails.

You mean %{_x_includes} and similar? I had to introduce them to share
the same specfile between FC5 and the rest of the distros
supported. e.g. the distro-specific components are outsourced and
provided from your .rpmmacros, if you are into rebuilding from source.

The alternatives would be to fork the specfiles per distro, which is a
maintenance issue and error-prone, or start auto-detecting paths in
the specfile, which makes the specfile more difficult to read, and
considering that you need it for more than just ivtv it makes a
prefect candidate for macro abstraction.

If you're into rebuilding try (only for FC5)

%_x_includes %{_includedir}
%_x_libraries %{_libdir}
%_x_module_path %{_libdir}/xorg/modules
%_x_bindir %{_bindir}

-- 
Axel.Thimm at ATrpms.net

Attachment: pgp4ixmOGJciF.pgp
Description: PGP signature

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to