Mailinglist Archive: opensuse-packaging (105 mails)
| < Previous | Next > |
Re: [opensuse-packaging] [library packaging policy] Example fixing of curl
- From: Michal Marek <mmarek@xxxxxxx>
- Date: Wed, 02 May 2007 13:41:55 +0200
- Message-id: <46387903.3090008@xxxxxxx>
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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
> 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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |