From nobody Mon Feb 9 12:25:10 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601923243; cv=none; d=zohomail.com; s=zohoarc; b=PUU50AMNLLeL2oFlX6B3HisgidK98+vAukOBPQc1yt47tf+p/vHH2OMaxmNl82JTcOX54DBbrcxUGEdDW1b71OgGTKwpffi7EcEH9GalCLnqTtnoQV/Ja2GIe82J1AdgdYffc0xVzTcXM3rcDFB7n3ifk33cT+dPECvJ21JXnyM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601923243; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Vd+HMGQ9BKM+TB/CztOuQ87T6OXG7LLvGRfXwGeiEgM=; b=JKZkL4jfkuiiHCW8SFUzwsdFHS5T7bJk8TzYge559kQ407+vd4eXSkLEh8gKqn4vdQhBX6gwW0OxACT2ncAJzFhCpKW1WGa8eIOgd//fNDAGOkIoysVFIeiPZde9Own5N+OpoMSPVobHkFwSR3v3UGBTJoQtztlwPlaFeHGiZ9s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601923243752520.6696419145052; Mon, 5 Oct 2020 11:40:43 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-_W4j_RtKPoKoLDsbqubMWg-1; Mon, 05 Oct 2020 14:40:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9FBA8803654; Mon, 5 Oct 2020 18:40:34 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4197673673; Mon, 5 Oct 2020 18:40:33 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id DEB8344A41; Mon, 5 Oct 2020 18:40:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 095IeTDs022616 for ; Mon, 5 Oct 2020 14:40:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id B2D1573673; Mon, 5 Oct 2020 18:40:29 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.153]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 081A973666 for ; Mon, 5 Oct 2020 18:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601923242; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Vd+HMGQ9BKM+TB/CztOuQ87T6OXG7LLvGRfXwGeiEgM=; b=DwtzoOy1rM3CresKrGNiKtEBV5n/93YkSOVkuRpdnLC2rmC0cAHJesf3SDvRUCaHQoNak0 g/z7LU5Jp3o0s8nrdtqZVMQyyJiw516wsPaXONWqXtuUxR6wDlHEuLkSrPbEIo8LkepLfY nGx7cWax5L/55aTr81BxBxjoNYI/7V8= X-MC-Unique: _W4j_RtKPoKoLDsbqubMWg-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/9] spec: Simplify setting features off by default Date: Mon, 5 Oct 2020 20:40:16 +0200 Message-Id: <20201005184024.266109-2-abologna@redhat.com> In-Reply-To: <20201005184024.266109-1-abologna@redhat.com> References: <20201005184024.266109-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The right-hand side of these expressions will always evaluate to zero. Stop obfuscating this fact. Signed-off-by: Andrea Bolognani --- libvirt.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index d13aae5cf5..815ab246e9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -85,15 +85,15 @@ %endif =20 # A few optional bits off by default, we enable later -%define with_fuse 0%{!?_without_fuse:0} -%define with_sanlock 0%{!?_without_sanlock:0} -%define with_numad 0%{!?_without_numad:0} -%define with_firewalld 0%{!?_without_firewalld:0} -%define with_firewalld_zone 0%{!?_without_firewalld_zone:0} -%define with_libssh2 0%{!?_without_libssh2:0} -%define with_wireshark 0%{!?_without_wireshark:0} -%define with_libssh 0%{!?_without_libssh:0} -%define with_bash_completion 0%{!?_without_bash_completion:0} +%define with_fuse 0 +%define with_sanlock 0 +%define with_numad 0 +%define with_firewalld 0 +%define with_firewalld_zone 0 +%define with_libssh2 0 +%define with_wireshark 0 +%define with_libssh 0 +%define with_bash_completion 0 =20 # Finally set the OS / architecture specific special cases =20 --=20 2.26.2