Comment # 4 on bug 1185613 from
(In reply to Ludwig Nussel from comment #3)
> Yes and no. You can't do this during build time:
> 
> $ osc rbl openSUSE:Factory groff standard x86_64|grep -B2 -A4 "++ PRETTY_NA"
> [   64s] + . /etc/os-release
> [   64s] ++ NAME='openSUSE Dummy'
> [   64s] ++ PRETTY_NAME='openSUSE Dummy'
> [   64s] ++ ID=suse
> [   64s] ++ ID_LIKE=suse
> [   64s] ++ VERSION_ID=Dummy
> [   64s] + sed -i 's:\(doc-volume-operating-system\) BSD:\1 openSUSE Dummy:'
> tmac/doc-common-u

Hopefully the build with Tumbleweed or a SLES uses an other value for
PRETTY_NAME.  What happens during openSUSE:Factory build is then secondary.

For mksh I use as requested by upstream

 vendor=OpenBuildService
 %if 0%{?suse_version} > 0
 %if !0%{?is_opensuse}
 vendor=SLES
 %else
 vendor=openSUSE
 %endif
 %endif


You are receiving this mail because: