Mailinglist Archive: opensuse-ruby (83 mails)

< Previous Next >
Re: [opensuse-ruby] Revised gem packaging
  • From: Adam Spiers <aspiers@xxxxxxxx>
  • Date: Fri, 2 Nov 2012 12:40:57 +0000
  • Message-id: <20121102124057.GA20268@pacific.linksys.moosehall>
Klaus Kaempf (kkaempf@xxxxxxx) wrote:
* Adam Spiers <aspiers@xxxxxxxx> [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_12.1/x86_64/
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References