On Sat, Jul 18, 2009 at 08:19:12PM -0500, Matt Domsch wrote:
> dkms added the dependency Requires: lsb   which, on Red  Hat and
> Fedora distributions, pulls in redhat-lsb, which pulls in an amazing
> amount of packages (a bunch of X libraries, hence cairo, mesa, and
> pango; lpr commands, hence cups, ...).

Not a real solution, but as a workaround I've kludged this kind of thing
by rolling my own "fake" rpm that only has a bunch of "provides".

i've attached a slightly-sanitized version of the spec file I use.

danno
%define name fakestuff
%define version 1
%define release 3

Vendor: nobody
Packager: nobody
Distribution: fakeOS
URL: http://example.com

BuildArchitectures: noarch

Summary: A fake package so that rpm thinks we have x11 fonts, xfs, 
system-logos, lp/lpr, redhat-menus
Name: %{name}
Version: %{version}
Release: %{release}
Group: fake
Source: %{name}-%{version}.tar.gz
BuildRoot: /tmp/%{name}-%{version}
License: GPL

Provides: xorg-x11-fonts-base = %{version}, xfs = %{version}, system-logos = 
%{version}, /usr/bin/lp, /usr/bin/lpr, redhat-menus = 999, indexhtml = 
%{version}

%description
A fake package so that rpm thinks we have x11 fonts, xfs, system-logos, lp/lpr, 
redhat-menus

%prep

%setup

%build

%install

%clean
#/bin/rm fakejava-install-a-file-for-me

%files
#%defattr(0755,root,root)
#/fakejava-install-a-second-file

%pre

%post

%preun

%postun

%changelog
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to