From 335705143c2216f966a86c012234b06a398df25811322595bf7a43deb74858be Mon Sep 17 00:00:00 2001 From: Max Lin Date: Mon, 13 Oct 2025 16:11:22 +0800 Subject: [PATCH] _config: make sure the particular build configuration being available in this project's namespace --- _config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.51.1