From patchwork Fri Mar 25 17:56:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Redaelli X-Patchwork-Id: 1609501 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=YkbdP3hW; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KQ8t74SwSz9s1l for ; Sat, 26 Mar 2022 04:56:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id CD28640393; Fri, 25 Mar 2022 17:56:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZQm5egSJBCrd; Fri, 25 Mar 2022 17:56:42 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id AF2D240327; Fri, 25 Mar 2022 17:56:41 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6FECAC001D; Fri, 25 Mar 2022 17:56:41 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3ECE6C0012 for ; Fri, 25 Mar 2022 17:56:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 24EF260BE4 for ; Fri, 25 Mar 2022 17:56:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mv1urnX6UPgW for ; Fri, 25 Mar 2022 17:56:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id 56C0860B71 for ; Fri, 25 Mar 2022 17:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648230997; h=from:from: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; bh=yrrkgKHL+YB5wduUj6naI+uZow6GaINvIK8mxlJUzpM=; b=YkbdP3hWiGo6HxCxb0CKFvvg5ilc386IOdRH2JOBAvOSSR1mvATvkxsSKccHAL34e1SBst nilupVx3AsaQQrRaOi6l9Cvos5q9k9/rNi914+/q9Ik0W02xrdCDCj92xeP9OIV/WCKoIF FtxrLR6RyS8ujv8l0IXe//+/3ak1Q88= 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-15-i1BR9hiqPyenOszz4IJawA-1; Fri, 25 Mar 2022 13:56:35 -0400 X-MC-Unique: i1BR9hiqPyenOszz4IJawA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CC0DD100BAAD for ; Fri, 25 Mar 2022 17:56:34 +0000 (UTC) Received: from aldebaran.redhat.com (unknown [10.39.192.164]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6B04840CF8EC for ; Fri, 25 Mar 2022 17:56:33 +0000 (UTC) From: Timothy Redaelli To: dev@openvswitch.org Date: Fri, 25 Mar 2022 18:56:30 +0100 Message-Id: <98261e51f50ced45e2071e1fd47e419e59f5e8fb.1648230990.git.tredaelli@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=tredaelli@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH] python: don't ship dirs.py in tarball X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Currently dirs.py is included in released tarball (make dist), but it should be generated during build, since it includes the prefix that may change by configure --prefix and other options. This commit removes dirs.py from EXTRA_DIST so it's not included in released tarball (make dist). Reported-at: https://bugzilla.redhat.com/2055576 Fixes: 943c4a325045 ("python: set ovs.dirs variables with build system values") Signed-off-by: Timothy Redaelli --- python/automake.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/automake.mk b/python/automake.mk index 767512f17..c32ac3b6a 100644 --- a/python/automake.mk +++ b/python/automake.mk @@ -42,6 +42,9 @@ ovs_pyfiles = \ python/ovs/version.py \ python/ovs/vlog.py \ python/ovs/winutils.py + +EXTRA_DIST += $(ovs_pyfiles) $(ovstest_pyfiles) + # These python files are used at build time but not runtime, # so they are not installed. EXTRA_DIST += \ @@ -59,7 +62,6 @@ EXTRA_DIST += \ EXTRA_DIST += python/ovs/_json.c PYFILES = $(ovs_pyfiles) python/ovs/dirs.py $(ovstest_pyfiles) -EXTRA_DIST += $(PYFILES) PYCOV_CLEAN_FILES += $(PYFILES:.py=.py,cover) FLAKE8_PYFILES += \