[opensuse-packaging] Recommends/Requires for lang files
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run an English only system to remove the lang files completely. Please keep this in mind when packaging and change the spec files. I've just gone through a couple of packages and will send submitrequests for these, Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Dnia 31-08-2010 o 12:48:04 Andreas Jaeger <aj@novell.com> napisał(a):
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run an English only system to remove the lang files completely. Please keep this in mind when packaging and change the spec files.
I've just gone through a couple of packages and will send submitrequests for these,
It is funny, because when I get some langpacks and remove them, I get another ones for another language and so I have to add lock for each package :> . -- Jakub Rusinek http://blog.jakubrusinek.pl/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 31 August 2010 12:54:05 Jakub Rusinek wrote:
Dnia 31-08-2010 o 12:48:04 Andreas Jaeger <aj@novell.com> napisał(a):
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run an English only system to remove the lang files completely. Please keep this in mind when packaging and change the spec files.
I've just gone through a couple of packages and will send submitrequests for these,
It is funny, because when I get some langpacks and remove them, I get another ones for another language and so I have to add lock for each package :> .
You should be able to lock something like "*-lang" - and disable the adding of recommended packages, Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Am Dienstag 31 August 2010 schrieb Jakub Rusinek:
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run It is funny, because when I get some langpacks and remove them, I get another ones for another language and so I have to add lock for each
Dnia 31-08-2010 o 12:48:04 Andreas Jaeger <aj@novell.com> napisał(a): package :> .
This is because the language packages are required in most packages - and exactly what AJ wants to change. So it's not funny. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Andreas Jaeger wrote:
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run an English only system to remove the lang files completely. Please keep this in mind when packaging and change the spec files.
I've just gone through a couple of packages and will send submitrequests for these,
https://bugzilla.novell.com/show_bug.cgi?id=449847 is not resolved which is required according to https://features.opensuse.org/306407 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
On Tuesday 31 August 2010 12:48:04 Andreas Jaeger wrote:
For -lang files that only contain .mo files (translations) and no doc files etc., we should use Recommends and not Requires. This allows users that run an English only system to remove the lang files completely. Please keep this in mind when packaging and change the spec files.
I've just gone through a couple of packages and will send submitrequests for these,
Btw. we can change Requires: %name-lang = %version to Recommends: %name-lang since the lang package itself has an explicit requires on the version of the base package - and recommending a specific version does not make sense, Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Wed, Sep 01, 2010 at 09:40:01AM +0200, Andreas Jaeger wrote:
since the lang package itself has an explicit requires on the version of the base package - and recommending a specific version does not make sense,
Why doesn't it make sense (apart from being unneeded)? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 01 September 2010 11:13:32 Michael Schroeder wrote:
On Wed, Sep 01, 2010 at 09:40:01AM +0200, Andreas Jaeger wrote:
since the lang package itself has an explicit requires on the version of the base package - and recommending a specific version does not make sense,
Why doesn't it make sense (apart from being unneeded)?
Recommend package =version does still allow to install the package with a different version - doesn't it? Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Wed, Sep 01, 2010 at 11:37:47AM +0200, Andreas Jaeger wrote:
On Wednesday 01 September 2010 11:13:32 Michael Schroeder wrote:
On Wed, Sep 01, 2010 at 09:40:01AM +0200, Andreas Jaeger wrote:
since the lang package itself has an explicit requires on the version of the base package - and recommending a specific version does not make sense,
Why doesn't it make sense (apart from being unneeded)?
Recommend package =version does still allow to install the package with a different version - doesn't it?
Yes, as the version is just recommended. But that's why the lang package contains a requires to the main package, right? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 01 September 2010 11:40:17 Michael Schroeder wrote:
On Wed, Sep 01, 2010 at 11:37:47AM +0200, Andreas Jaeger wrote:
On Wednesday 01 September 2010 11:13:32 Michael Schroeder wrote:
On Wed, Sep 01, 2010 at 09:40:01AM +0200, Andreas Jaeger wrote:
since the lang package itself has an explicit requires on the version of the base package - and recommending a specific version does not make sense,
Why doesn't it make sense (apart from being unneeded)?
Recommend package =version does still allow to install the package with a different version - doesn't it?
Yes, as the version is just recommended. But that's why the lang package contains a requires to the main package, right?
Correct. So, you just confirmed that the "=version" is not needed in the recommends ;) Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (5)
-
Andreas Jaeger
-
Jakub Rusinek
-
Ludwig Nussel
-
Michael Schroeder
-
Stephan Kulow