[opensuse-buildservice] Vendor string in packages
![](https://seccdn.libravatar.org/avatar/c2245049e7e6a67166114fef782634e3.jpg?s=120&d=mm&r=g)
Hi List, The Vendor string in the packages built on OBS (also own installations) always points to openSUSE Build Service. I tried to play with Macros in the Project Configuration (%vendor and alike) but I seem not to have caught the one that actually changes the vendor. So I ended up changing the string in the source of OBS directly. Of course this is terrible, as past proves I tend to forget to re-patch it after an upgrade, ending up with a 'wrong' repository. Is there a way that this could be defined in the Project Config?
From a source point of view I think it would be even better if this string could be moved to the BSConfig.pm (more obvious to find to change it).
Comments and tips are welcome ;) Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
On Freitag 23 Januar 2009 09:39:45 Dominique Leuenberger wrote:
Hi List,
The Vendor string in the packages built on OBS (also own installations) always points to openSUSE Build Service. I tried to play with Macros in the Project Configuration (%vendor and alike) but I seem not to have caught the one that actually changes the vendor. So I ended up changing the string in the source of OBS directly.
Of course this is terrible, as past proves I tend to forget to re-patch it after an upgrade, ending up with a 'wrong' repository.
Is there a way that this could be defined in the Project Config? From a source point of view I think it would be even better if this string could be moved to the BSConfig.pm (more obvious to find to change it).
Comments and tips are welcome ;)
There is no clean way yet. A patch would be welcome :) You need to patch the bs_srcserver at the lines 1500 and following. Some setting from the project config and/or via BSConfig.pm would be prefered. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/c2245049e7e6a67166114fef782634e3.jpg?s=120&d=mm&r=g)
On 1/23/2009 at 10:31 AM, Adrian Schröter
wrote: On Freitag 23 Januar 2009 09:39:45 Dominique Leuenberger wrote: Hi List, The Vendor string in the packages built on OBS (also own installations) always points to openSUSE Build Service. I tried to play with Macros in the Project Configuration (%vendor and alike) but I seem not to have caught the one that actually changes the vendor. So I ended up changing the string in the source of OBS directly.
Of course this is terrible, as past proves I tend to forget to re-patch it after an upgrade, ending up with a 'wrong' repository.
Is there a way that this could be defined in the Project Config? From a source point of view I think it would be even better if this string could be moved to the BSConfig.pm (more obvious to find to change it).
Comments and tips are welcome ;)
There is no clean way yet. A patch would be welcome :)
You need to patch the bs_srcserver at the lines 1500 and following. Some setting from the project config and/or via BSConfig.pm would be prefered.
Ok, thanks... then I did it actually 'the correct' way so far... but of course forgot about it on any upgrade occasion. Thanks for the info. If I'll find time I might start reading the source a bit and maybe I can start contributing to OBS a bit. Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Dominique Leuenberger