On Tue, 26 Feb 2008, Thorsten Kukuk wrote:- <snip>
Instead I would go the following way:
yast2-branding-openSUSE provides branding version 10.2. yast2-branding-openSUSE conflicts with yast2 < 10.2
yast2 will require yast2-branding >= 10.2
There's no need for this with versions before 11.0, unless YaST from 11.0 is going to be backported into the earlier versions.
On openSUSE 11.0, the branding needs another format. So the branding version is bumped to 11.0, the conflict is changed to yast2 < 11.0, the requires is adjusted.
I'm not sure if this branding version not equal to package version will really work in this way, here I need the comments of the rpm experts.
If I was designing the system, which thankfully I'm not, I'd probably go for something like: yast2 yast2-branding-openSUSE yast2-branding-SLES where the package yast2 contains all the un-branded artwork and have a requires for yast2-branding. The package yast2-branding-openSUSE and yast2-branding-SLES would provide the required branded artwork and then set Provides: yast2-branding in the spec file.
There is another reason, why I wish to see an easier dependency solution than to provide/require every singe icon: Assume somebody wishes to provide a new branding for a special product. In this way, it is possible and maintainable, to provide the complete branding in only one RPM. I know that a lot of people would not like to let their customers download a huge bunch of different RPMs.
That way has the benefits of havng all the brandng in one place, but it also means that there may be a very large part of included artwork in that package that isn't actually required by any other packages that are installed. Also, I think it would be easier to add another sub-package that includes all the branding for a particular package, than to move the branding into a central package. Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a1 SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org