On Sat, 27 Apr 2002, Zvi Har'El wrote:

> Having downloaded and trying to install mozilla-spellchecker I got
>
> /usr/local/src/rpms# rpm -Uvh mozilla-spellchecker-1.0rc1-1_rh7.i386.rpm
> error: failed dependencies:
>       mozilla = 1.0rc1-1_rh7 is needed by mozilla-spellchecker-1.0rc1-1_rh7
>
> However, I have already installed mozilla-1.0rc1-0.i386.rpm from mozilla.org. I
> hate to replace all 11 mozilla 1.0rc1-0 rpms with 1.0rc1-1_rh7 from
> ftp://ftp.cs.cornell.edu/pub/nogin/unsorted_RPMs/mozilla/ . Do you know if
> there exists a 1.0rc1-0 rpm for mozilla-spellchecker somewhere?

One thing you can try is to create an rpm package that will require
mozilla 1.0rc1-0 and provide mozilla 1.0rc1-1_rh7

Here is a generic spec I use. I usually only need to change the top
defines. In this case the versions have to be changed a bit. Save it as
mozilla_1.0rc1-1_rh7_from_1.0rc1-0.spec, do the necessary changes, run:

  rpm -bb mozilla_1.0rc1-1_rh7_from_1.0rc1-0.spec

and install the produced rpm package.


%define target bzip2-devel
%define from libbzip2-devel
%define name %{target}-from-%{from}
%define version 1
%define release 1local

Summary: demi package to allow %{from} to provide %{target}
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: Public Domain
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArchitectures: noarch
Group: System/Libraries
# Note that you may need to add some version number requirements here:
Requires: %{from}
#Requires: %{from} >= 1.0
Provides: %{target}

%description
A simple package to provide the resource %{target} from an existing
package with the resource %{from}

%prep

%build

%install

%post

%clean


%files

%changelog
* Mon Oct  8 2001 Tzafrir Cohen <[EMAIL PROTECTED]> 1-1local
- Initial package

# end of file


-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to