View Single Post
Old 03-25-2003, 12:31 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
If you installed through a tar-ball, then just make a fake rpm file, which holds the needed info, and rpm -i that file, then the database will think it has installed the dependency through rpm, where in fact you did it through a tar-ball.

A simple one could look like this:
Code:
Name:          mozilla
Version:       1.3
Release:       1
Summary:       The mozilla fake package
Copyright:     GPL
Group:         Amusements
BuildRoot:     /tmp/%{name}-%{version}
Packager:      Kenneth 'Redhead' Nielsen <e@mail.no>
Vendor:        Kenneth 'Redhead' Nielsen <e@mail.no>
%description
Getting tired of having a million dependencies probs.
%prep
%setup
%build
%install
%clean
%files
%changelog
* Tue Feb 25 2003 Kenneth 'Redhead' Nielsen <e@mail.no>
- Made this fake rpm file.
Just save that as mozilla.src.rpm, and run: rpm -bb mozilla.src.rpm
then it will create a .<arc>.rpm file which you can install and fool the rpm database into thinking mozilla version 1.3 is installed.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote