[opensuse-buildservice] Wrong %distribution in openSUSE:Factory:*
Due to a recent change how the combined buildconfig is generated the following definition of %distribution from openSUSE:Factory prjconf has no effect any more (except in openSUSE:Factory itself): %if "%_project" == "openSUSE:Factory" || "%_project" == "openSUSE:Factory:NonFree" || "%_project" == "openSUSE:Factory:PowerPC" || "%_project" == "openSUSE:Factory:ARM" || "%_project" == "openSUSE:Factory:Live" || "%_project" == "openSUSE:Factory:Rebuild" Macros: %vendor openSUSE %distribution openSUSE Factory %packager http://bugs.opensuse.org :Macros %endif There is now another definition of %distribution emitted at the end of the buildconfig output, which redefines it to the project name, eg: $ osc buildconfig openSUSE:Factory:NonFree standard | tail -n 12 ### from openSUSE:Factory:NonFree %define _repository standard Macros: %distribution openSUSE:Factory:NonFree %_project openSUSE:Factory:NonFree ### from openSUSE:Factory:NonFree %_repository standard Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
On Montag, 14. März 2016, 10:34:52 wrote Andreas Schwab:
Due to a recent change how the combined buildconfig is generated the following definition of %distribution from openSUSE:Factory prjconf has no effect any more (except in openSUSE:Factory itself):
right ... Dominique, can you set the macros inside of the other projects (eg. openSUSE:Factory:NonFree) directly? -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, 2016-03-14 at 10:41 +0100, Adrian Schröter wrote:
On Montag, 14. März 2016, 10:34:52 wrote Andreas Schwab:
Due to a recent change how the combined buildconfig is generated the following definition of %distribution from openSUSE:Factory prjconf has no effect any more (except in openSUSE:Factory itself):
right ... Dominique, can you set the macros inside of the other projects (eg. openSUSE:Factory:NonFree) directly?
Will do - but that actually means they macros do not even have to be guarded with the if %_project, as they are anyway not inherited? Is this an intentional behavior of OBS? Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, 2016-03-14 at 12:47 +0100, Dominique Leuenberger wrote:
right ... Dominique, can you set the macros inside of the other projects (eg. openSUSE:Factory:NonFree) directly? Will do - but that actually means they macros do not even have to be guarded with the if %_project, as they are anyway not inherited? Is
this an intentional behavior of OBS?
Updated the prjconf of: openSUSE:Factory:ARM (@Andreas: I normalized it with the others, also setting bugowner and vendor, which you missed) openSUSE:Factory:Live openSUSE:Factory:NonFree openSUSE:Factory:PowerPC openSUSE:Factory:Rebuild This should get us back to where we were on Friday. In a future step we will chane %distribution to 'openSUSE Tumbleweed' - after all, 'openSUSE Factory' is no longer the name of the distribution for like 18 months by now. Cheers, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dominique Leuenberger / DimStar <dimstar@opensuse.org> writes:
openSUSE:Factory:ARM (@Andreas: I normalized it with the others, also setting bugowner and vendor, which you missed)
I didn't miss them, they are not needed. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, 2016-03-14 at 13:53 +0100, Andreas Schwab wrote:
Dominique Leuenberger / DimStar <dimstar@opensuse.org> writes:
openSUSE:Factory:ARM (@Andreas: I normalized it with the others, also setting bugowner and vendor, which you missed)
I didn't miss them, they are not needed.
vendor? Are you sure? That's what makes zypp bark at packages and not update it - I'd argue that was the much more important tag than distribution was. Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dominique Leuenberger / DimStar <dimstar@opensuse.org> writes:
On Mon, 2016-03-14 at 13:53 +0100, Andreas Schwab wrote:
Dominique Leuenberger / DimStar <dimstar@opensuse.org> writes:
openSUSE:Factory:ARM (@Andreas: I normalized it with the others, also setting bugowner and vendor, which you missed)
I didn't miss them, they are not needed.
vendor? Are you sure?
Yes. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Andreas Schwab
-
Dominique Leuenberger
-
Dominique Leuenberger / DimStar