Klaus Kaempf (kkaempf@suse.de) wrote:
* Adam Spiers
[Oct 30. 2012 18:05]: Stupid question: does OBS require that the package name matches the .spec filename, and/or the Name: field inside the spec file?
Afaik neither. I usually have the project name match the .spec file name only.
Or could you have for example
$project/rubygem-foo-1.0/rubygem-foo-1.0.spec
which contains
Name: rubygem-foo Version: 1.0
?
If this is allowed, maybe you could have
$project/rubygem-foo-1.1/rubygem-foo-1.1.spec
in the same OBS project which contains
Name: rubygem-foo Version: 1.1
and they would both get built?
Yes. I'm using this for example to build multiple versions of sblim-sfcb in systemsmanagement:wbem for openSUSE_12.1.
http://download.opensuse.org/repositories/systemsmanagement:/wbem/openSUSE_1... contains sblim-sfcb in version 1.3.7, 1.3.11, 1.3.15 and 1.4.2
Ah, that's handy. So if the OBS does not have a limitation on multiple versions of a package co-existing in a single project, I'm even more mystified why there was ever a need to introduce the Name: rubygem-foo-1_1 style of naming ... -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org