Matthias Koenig wrote:
> It is stated in
> http://en.opensuse.org/Package_Dependencies
> in the section "Renaming a package", that the old package name in the
> Provides tag should be versioned.
> The example given is:
> 
> Name:          package
> Version:      1.1
> Requires:
> Provides:     pac = 1.0
> Obsoletes:    pac <= 1.0
> Conflicts:
> 
> Now, this seems to imply that the version should be that one of the old
> version (before the rename was done). The argument given is that a later
> re-renaming should be possible.
> 
> Looking at the libcurl-devel subpackage:
> %package -n libcurl-devel
> Provides:       curl-devel = %{version}-%{release}
> Obsoletes:      curl-devel
> 
> This will expand to the current version-release number and seems to
> contradict the way it is done in the above document.

But if for whatever reason someone needs curl-devel = 7.16.1, should
this dependency be satisfied by _any_ future version of libcurl-devel?

Obsoleting just curl-devel <= 7.16.1 is a good idea.

Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to