From nobody Sun Feb 8 17:42:19 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1692986169; cv=none; d=zohomail.com; s=zohoarc; b=GF3hA6wBifGx515+DDJZWdsdCwvVR/cMkg/fBqYHjny8slxjFepu8ckWShG1Yud1E/jZ5ws10tkFzhnEbhG/80c8Lzc+KRqo/aO0lKJzXmQL2XrdV81RBICuk+cSmPYsa7efmgvE8grYGdgEHfs3dEA4wKkeCQ8osEY8RmDLrzg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986169; h=Content-Type:Content-Transfer-Encoding:Cc: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=NbbO7dPi86Gum5Uvm3dSsvauWy5FeFtOMefXLUSYT48=; b=HYdYMp9HXO5RMp86/GxonPsBpM/PGHdWrv5ZXFWeTDZWBj8/kBjT3KeKkU7ayl/d7Bgmw9czpU+LLQoPt9EsfTBAK6IjuuTLPXXDpkfiE/wXZvpOtfwvt3u3p7nGhzyCdCz9DI86+jRTa1MgAMB6UyL6epi+d+AOeSKOt8Kqw54= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1692986169883159.96015736337563; Fri, 25 Aug 2023 10:56:09 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-170-w6Yn364-MkK0GEHpKcXjOQ-1; Fri, 25 Aug 2023 13:55:56 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 96E24104F0B8; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7ED4B2166B26; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 745FD19465B3; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id AF97E1946A4D for ; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9C45F4A9005; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id 25077492C14; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986168; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=NbbO7dPi86Gum5Uvm3dSsvauWy5FeFtOMefXLUSYT48=; b=EEHhGBJu3gRCh7dloRXgCjPTu9OATfiLhk5nEsGcuFW/bvBoFKwh5qkgFhXsaMpVqcUj5C iiC76Ox/abrnZcNsv0uQps2/tsElNjU5DyPT/T+RxC6l9vv+ki9IIbUWfFLECputaOsJ8X 6feoVnktVazvuP5G016jEibvONlwOLs= X-MC-Unique: w6Yn364-MkK0GEHpKcXjOQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 11/33] ci: build.sh: Add a wrapper function over the 'rpmbuild' job Date: Fri, 25 Aug 2023 19:55:19 +0200 Message-ID: <3ed60b014176cb14e6acd79efa6cf3490cf97c53.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692986171449100009 Content-Type: text/plain; charset="utf-8"; x-default="true" This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety --- ci/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index 6990f2d171..30f4712e4b 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -94,3 +94,14 @@ run_potfile() { run_meson_setup run_build } + +run_rpmbuild() { + local CMD=3D"rpmbuild \ + --clean \ + --nodeps \ + --define "_without_mingw 1" \ + -ta build/meson-dist/libvirt-*.tar.xz" + + run_meson_setup + run_dist +} --=20 2.41.0