[opensuse-packaging] requires vs recommends for lang packages
Hey, The current policy when using lang package is to do: Requires: %{name}-lang = %{version} I don't think "Requires" is true. "Recommends" is much more appropriate I think, since the package works fine without the corresponding lang package. (There might be a few packages where this isn't true, but those are exceptions). Opinions? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Thursday 05 March 2009 18:05:21 schrieb Vincent Untz:
Hey,
The current policy when using lang package is to do:
Requires: %{name}-lang = %{version}
I don't think "Requires" is true. "Recommends" is much more appropriate I think, since the package works fine without the corresponding lang package. (There might be a few packages where this isn't true, but those are exceptions).
Opinions?
Define "works fine". An english only program does not work fine. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le jeudi 05 mars 2009, à 20:31 +0100, Stephan Kulow a écrit :
Am Thursday 05 March 2009 18:05:21 schrieb Vincent Untz:
Hey,
The current policy when using lang package is to do:
Requires: %{name}-lang = %{version}
I don't think "Requires" is true. "Recommends" is much more appropriate I think, since the package works fine without the corresponding lang package. (There might be a few packages where this isn't true, but those are exceptions).
Opinions?
Define "works fine". An english only program does not work fine.
This is debatable, really. I'd just point out that with Recommends, the translations will be installed by default but people can remove them if they need more space. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Vincent Untz wrote:
Le jeudi 05 mars 2009, à 20:31 +0100, Stephan Kulow a écrit :
Am Thursday 05 March 2009 18:05:21 schrieb Vincent Untz:
The current policy when using lang package is to do:
Requires: %{name}-lang = %{version}
I don't think "Requires" is true. "Recommends" is much more appropriate I think, since the package works fine without the corresponding lang package. (There might be a few packages where this isn't true, but those are exceptions).
Opinions?
Define "works fine". An english only program does not work fine.
This is debatable, really. I'd just point out that with Recommends, the translations will be installed by default but people can remove them if they need more space.
I agree with Vincent. For a package I recently ceated I came to the conclusion that Requires doesn't make sense and used Recommends for the -lang package instead without actually checking the policy. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Vincent Untz escribió:
Hey,
The current policy when using lang package is to do:
Requires: %{name}-lang = %{version}
Opinions?
No, not really, if you remove %{name} , %{name}-lang will not be removed from the user's system, leaving "bloat" installed. -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Le jeudi 05 mars 2009, à 17:16 -0300, Cristian Rodríguez a écrit :
Vincent Untz escribió:
Hey,
The current policy when using lang package is to do:
Requires: %{name}-lang = %{version}
Opinions?
No, not really, if you remove %{name} , %{name}-lang will not be removed from the user's system, leaving "bloat" installed.
This is certainly why %{name}-lang should require %{name}, not the opposite. And I think this already works fine. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Cristian Rodríguez
-
Ludwig Nussel
-
Stephan Kulow
-
Vincent Untz