Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3674747ybi; Mon, 27 May 2019 04:09:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNbfPOJAWN9E9o3GB+smIP5tLpPH/ByyGl0Oot2Bvxs60MNhLM4ySl+V3U389tiU7YL5Ld X-Received: by 2002:a17:90a:364b:: with SMTP id s69mr31907803pjb.15.1558955390180; Mon, 27 May 2019 04:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558955390; cv=none; d=google.com; s=arc-20160816; b=C1W6Z0yX1NfLN2oRRMwflz8slrqRQ5abxbvSJLR1nBO9Z/C7hd++Nlu6LSe9iH1/9n uB1sjYWNkh7rA1uZw/XYxjdYjrTaqoz+88yqgOiNxySex6gU8Jd0ekeJR7TKuYz4SUV9 8rfO7aKmvhFj/XZ1T8bKKga7/a1rnB4s+hCab2/pmnx1E7Bi7BWvzFdouYcDDXuDp5RJ fFFFUP5MwA7C/E3YibUrxO++M2d9cxcH3v/uOVZXTKCBzkQdzy6Sxk0BTOaFFL/QtsaU nfj3cuPkGvFtNm0cBYjh9F/QErVp+RkdvYxXaCHobW+hPwtasRxbrp35KOgi6dm3lKbC Q/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8g48329FQhEsiuSKYHuqBZrE6fufei6sAnLid9P5pyM=; b=YNtg9+dIlARxmC9/G1DMRdzm6t4681nfTfwGsRRBvllZn6Hwvpimram+TzfpYvXhNB uehEhu3na5AcrOA5mAQDFnW6ESriNCgjipJOCM5n/8H/cH7+7F4MwF8KONBGH37mm1a/ 8Yali5aLQG8kRI2zXg2+R8LUS2ywAJ6pwpU4zN3NN3SoVEubkQXMBERi7uW8E1+z7F72 5or7tQrFG4bDfzHijzMCrcndgv1C8HBW7e0iEC5JOSBMlvzjFUuWucha9QMf/UiErAF3 gUvWiLEgBBQsHbTAvPGIKArtyy2BsFygZrSpRzAxFi2MO+qij6Lvk2lT5lUgpvz4iohg +aCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="acc1/u1a"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9si16619606pjp.47.2019.05.27.04.09.34; Mon, 27 May 2019 04:09:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="acc1/u1a"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726760AbfE0LHt (ORCPT + 99 others); Mon, 27 May 2019 07:07:49 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57824 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbfE0LHs (ORCPT ); Mon, 27 May 2019 07:07:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8g48329FQhEsiuSKYHuqBZrE6fufei6sAnLid9P5pyM=; b=acc1/u1a6AefoquRE3b/srYkDW XFNwIsPb2hVl+wyGlUv0yE8gtd+3c5dY3pYC48jKQLZlg696R5KeUbkVK7N1BCwPktTpph73Qda7M gebfcPXNW8NRZ1MkJDVzzvYiqaqHXeoGwy18OVVPwE4C6lP3Zx3BROsaSOYIBEDacbg0Xizp0x34n +Mmt89ZcuII1EDTTdI71QmqRWgGawoZlxnLP5GXZ0LEIRZa3+lkBNhD5yaGqXO3pMLce7yDuZLYD1 fdEpw4fNOAPSlf1QjSGsrFWbH9Ob5Pjr8Tm+d/fUryoDiLwU1SfJ1Ls7AptEb24qdh82HUOi7udMY WfwjDecw==; Received: from [177.159.249.4] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVDTn-00061s-Ma; Mon, 27 May 2019 11:07:47 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hVDTi-0002ci-P4; Mon, 27 May 2019 08:07:42 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 2/5] scripts/sphinx-pre-install: get rid of RHEL7 explicity check Date: Mon, 27 May 2019 08:07:38 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RHEL8 was already launched. This test won't get it, and will do the wrong thing. Ok, we could fix it, but now we check Sphinx version to ensure that it matches the minimal (1.3), so there's no need for an explicit check there. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 11239eb29695..ded3e2ef3f8d 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -581,19 +581,6 @@ sub check_needs() print "Unknown OS\n"; } - # RHEL 7.x and clones have Sphinx version 1.1.x and incomplete texlive - if (($system_release =~ /Red Hat Enterprise Linux/) || - ($system_release =~ /CentOS/) || - ($system_release =~ /Scientific Linux/) || - ($system_release =~ /Oracle Linux Server/)) { - $virtualenv = 1; - $pdf = 0; - - printf("NOTE: On this distro, Sphinx and TexLive shipped versions are incompatible\n"); - printf("with doc build. So, use Sphinx via a Python virtual environment.\n\n"); - printf("This script can't install a TexLive version that would provide PDF.\n"); - } - # Check for needed programs/tools check_sphinx(); check_perl_module("Pod::Usage", 0); -- 2.21.0