Mailinglist Archive: opensuse-buildservice (100 mails)

< Previous Next >
[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@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
< Previous Next >
Follow Ups