Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1063574ybl; Wed, 14 Aug 2019 10:07:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5UGNzYUT7S0ilhb8cWNuY82cUtI3lJx6LgGB+/+fqp1i/6/QcESCrBaG26Qge5JQ4zfrR X-Received: by 2002:a17:902:2bc5:: with SMTP id l63mr464327plb.30.1565802452183; Wed, 14 Aug 2019 10:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802452; cv=none; d=google.com; s=arc-20160816; b=xyN0Gr5hEToWi8jMb6fwLxbo0kMctEZjGeEY7yW5oXi1w1o+kXhomwOFlm++722fMK tgZmSxGryzCnSmoFMy8L8WDIaXBD6OslO+6wrsGsoad/Rr0yIehI1GMWvOCflCy4705s dr21KP8DNQTli4bJcmeErjwvbBmkZ0rURegPvaazq3a1cyoZvDYTNmnlGoj+kom/dthc duXKRfQsjxkTQRyOuRfBgAbb5+rG+3IDpHAgJa7rEpC/2OuPQDi0z5G1BrktAMd5fbII INX8Y4txN3uvUjQuQtFUBr/cCxtqSwijo4eLQoG0DpkNeRXyV9R/XXHWqRmLfpoTO/Zn k4EQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lTwGY69n6eApYFYAcy+XUhroYm9nrov9E9JdWV8gqpU=; b=Sb42lyT10WJuYdJEf/D0pvS//TWiiB75TKgJqjHMePnfviL/LyMqGnf8SGW5wp0lzF 5TQNa/Y01dUD92GmT6BLCHLuJTmqYGFuPTfjNm5dWxiN2pDDQL0WMIZhEICknmsxrz6W rFDi0KTSyQlO/SYHeJSNkaQbC3pwoWeOT9qQnCXafa46GLd24k63zo1yJcAPK9DPIZvs 2SH9PlOggbovFLw7GZe+4tYj9jle4lRSIKY+06LScu1B1EWOPgI0l91V2HH9NvuBKCTe bVIU0RokJURBW6qVWGslD1f1VwFalXtvgcdpx1YmaBcQvLHd0gRkMHAcjSswD+aCwKhd M4oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PPT3jh7x; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l186si177820pge.215.2019.08.14.10.07.15; Wed, 14 Aug 2019 10:07:32 -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=pass header.i=@kernel.org header.s=default header.b=PPT3jh7x; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729503AbfHNRFq (ORCPT + 99 others); Wed, 14 Aug 2019 13:05:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:54570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728921AbfHNRFi (ORCPT ); Wed, 14 Aug 2019 13:05:38 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E04E216F4; Wed, 14 Aug 2019 17:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802337; bh=bF+qExikVFvyiuN7P/QK2vGkwAhCy5AbjsaJnvm9Gk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PPT3jh7xPRo8/NwdAqZ/qAFg1gcwQgifXB18nulU9/QEbc2lgSTLUIFWU3Ncdmov/ X4oy5RE36Dh11p9Z6Ij1qQIR9XPxNPf/SzlPikSiQOOI0pA+DBmvJaIYsBlPJOTtyM QxnhVsBUq16hkJ6On9D2UDfrCY/PbG61cYsypqBE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.2 059/144] scripts/sphinx-pre-install: fix latexmk dependencies Date: Wed, 14 Aug 2019 19:00:15 +0200 Message-Id: <20190814165802.299214378@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 353290a9eb5362a80bc8e52fcd7eb77a30f48afc ] The name of the package with carries latexmk is different on two distros: - On OpenSUSE, latexmk is packaged as "texlive-latexmk-bin" - On Mageia, latexmk is packaged at "texlive-collection-basic" Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- scripts/sphinx-pre-install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 4cc2b3ee5209f..1f9f0a334c24f 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -447,6 +447,8 @@ sub give_opensuse_hints() "texlive-zapfding", ); + $map{"latexmk"} = "texlive-latexmk-bin"; + check_rpm_missing(\@suse_tex_pkgs, 2) if ($pdf); check_missing_tex(2) if ($pdf); check_missing(\%map); @@ -472,6 +474,8 @@ sub give_mageia_hints() "texlive-fontsextra", ); + $map{"latexmk"} = "texlive-collection-basic"; + check_rpm_missing(\@tex_pkgs, 2) if ($pdf); check_missing(\%map); -- 2.20.1