Merge pull request #26 from pbartfai/patch-4

Make OBS detection username independent
This commit is contained in:
Leonardo Zide 2017-03-01 07:18:39 -08:00 committed by GitHub
commit e20f479ac8

View file

@ -8,11 +8,7 @@
%define dist .SUSE%(echo %{sles_version} | sed 's/0$//')
%endif
%if "%{vendor}" == "obs://build.opensuse.org/home:pbartfai"
%define opensuse_bs 1
%endif
%if "%{vendor}" == "obs://private/home:pbartfai"
%if %(if [[ "%{vendor}" == obs://* ]] ; then echo 1 ; else echo 0 ; fi)
%define opensuse_bs 1
%endif