From nobody Sun May 5 09:03:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1603968444; cv=none; d=zohomail.com; s=zohoarc; b=ITLzeZ+EHNF+YhmbU3yGFsEpJyeYZD/ZsK7UG30ifu6cO2u8MXD36vRKNw+mR4D7/0BkiodDlbBvRDqMOLXd1PehuH3y5t/JGvxDcrE09nI+ECXLI30sfS/1hcyOZGd24OpauRnL0Nq2p8YqtI40sFApqKke2a4QdGxaJxHaEBg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603968444; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=w3HdpSo+z3aUF+5DaJUmkdPE5zM7dAnfmQ4pGtKobS0=; b=VaI0e9wvHChFssoPS8HKQCbLmwBTLA8YY7ymUU6nCilrgI+7bRgjHtLjA/vznY3HQItz8A9Ucvq4x+KKWiaYquaRmt4OjEGJpEXjaGh99LBOk0DIe5elMxFGMZTSjPsJtFNw3ufh+OJgNyaFLmlX4yn0BXd8nk87MJ4GpV2FeXI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1603968444729785.3041356745144; Thu, 29 Oct 2020 03:47:24 -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-245-s2leIdqRO2CoFXTW1zjxpA-1; Thu, 29 Oct 2020 06:47:21 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC69D18C89C4; Thu, 29 Oct 2020 10:47:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 315E410013C1; Thu, 29 Oct 2020 10:47:12 +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 76CAC181A050; Thu, 29 Oct 2020 10:47:07 +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 09TAl6Pn023423 for ; Thu, 29 Oct 2020 06:47:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id 146CC6EF46; Thu, 29 Oct 2020 10:47:06 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3EAE260DA0 for ; Thu, 29 Oct 2020 10:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603968443; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=w3HdpSo+z3aUF+5DaJUmkdPE5zM7dAnfmQ4pGtKobS0=; b=PNEEO8tlsgGT7hucGfTGUGO8WkTg7E8+l5SQQQjW2VbJHJ4V5QvOpqx4vPAn3v+gK2YDtw zNUZyfqfUG5g5hZisM1nRodzdzZEATX3qu+BXSsnUcp/2hE6YM/oKKNnMotzuSdDAiJVci pU3Bjp9s+yi1b/LqAEejfatR/pv4S8E= X-MC-Unique: s2leIdqRO2CoFXTW1zjxpA-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] Revert "Revert "spec: Simplify setting features off by default"" Date: Thu, 29 Oct 2020 11:47:01 +0100 Message-Id: <20201029104701.474670-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.84 on 10.5.11.22 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" As explained in the original commit (31d687a3218c), these values are actually unaffected by the corresponding _without_* macros and so we can leave out the additional processing / obfuscation. This reverts commit ae23a87d85cfc2a964123d9bd44157a411428c0a. Signed-off-by: Andrea Bolognani Reviewed-by: Martin Kletzander --- libvirt.spec.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 84515cc7de..2a4324b974 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -98,14 +98,14 @@ %define with_numactl 0%{!?_without_numactl:1} =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_zone 0%{!?_without_firewalld:0} -%define with_libssh2 0%{!?_without_libssh2:0} -%define with_wireshark 0%{!?_without_wireshark:0} -%define with_libssh 0%{!?_without_libssh:0} -%define with_dmidecode 0%{!?_without_dmidecode:0} +%define with_fuse 0 +%define with_sanlock 0 +%define with_numad 0 +%define with_firewalld_zone 0 +%define with_libssh2 0 +%define with_wireshark 0 +%define with_libssh 0 +%define with_dmidecode 0 =20 # Finally set the OS / architecture specific special cases =20 --=20 2.26.2