> Hmmm... very interesting, I was not aware that RPM is able to do this.
> I not even know what installation command I had to use to achieve this
> effect. A simple "rpm -i" should leads to an error
In fact, -i will do it. The big difference between -U and -i is that -U
will remove all previous versions while -i will not. You can test this
by creating two dummy spec files (e.g., no sources, no files) with
different versions, along the lines of:
---[cut here]---
Name: sample
Version: 1.0
Release: 1
Summary: A sample RPM.
License: GPL
Group: Samples
Packager: Lars Kellogg-Stedman <[EMAIL PROTECTED]>
Buildroot: %{_tmppath}/%{name}-root
Prefix: /usr
%description
This is a sample rpm.
%prep
%build
%install
%clean
%files
---[end cut]---
Make one version 1.0, one version 2.0, and then:
# rpm -ivh sample*
[...]
# rpm -q sample
sample-2.0-1
sample-1.0-1
As to whether or not this is appropriate for a package such as perl...I
don't know. I'm just pointing out that it's possible :).
-- Lars
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]