diff --git a/_config b/_config index 8acd3c9..9fc0d80 100644 --- a/_config +++ b/_config @@ -143,7 +143,7 @@ Substitute: wallpaper-branding-openSUSE wallpaper-branding-SLE %define is_opensuse 1 %define is_backports 1 -%if "%_project" == "openSUSE:Backports:SLE-16.0" || "%_project" == "openSUSE:Backports:SLE-16.0:git" +%if 0%{?_is_in_project} Macros: %vendor openSUSE %distribution SUSE Linux Enterprise 16 @@ -164,7 +164,7 @@ Macros: # Leap specific package list, the same list with excludebuild must add to Backports project # Most of package should be built in Backports -%if "%_project" == "openSUSE:Backports:SLE-16.0" || "%_project" == "openSUSE:Backports:SLE-16.0:git" +%if 0%{?_is_in_project} # we build ffado:ffado-mixer for openSUSE, the main one is built in SLFO BuildFlags: excludebuild:ffado # build gpgme:qt flavor for qt5 support