Michal Marek wrote:
> 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?

Any comments on this? What's "The Right Thing" here,

  Version:      1.1
  Provides:     pac = 1.0
  Obsoletes:    pac <= 1.0

OR

  Version:      1.1
  Provides:     pac = %version
  Obsoletes:    pac <= 1.0

? Lars, according to the wiki changelog you're the author of that
section, can you comment?

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

Reply via email to