From patchwork Thu Nov 19 12:50:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 56990 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3159520lbb; Thu, 19 Nov 2015 04:50:45 -0800 (PST) X-Received: by 10.140.216.135 with SMTP id m129mr7164438qhb.90.1447937445888; Thu, 19 Nov 2015 04:50:45 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 75si1471111qhc.25.2015.11.19.04.50.45; Thu, 19 Nov 2015 04:50:45 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 7854D61A30; Thu, 19 Nov 2015 12:50:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 61F676198F; Thu, 19 Nov 2015 12:50:41 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5615061995; Thu, 19 Nov 2015 12:50:39 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by lists.linaro.org (Postfix) with ESMTPS id 78FAE6197B for ; Thu, 19 Nov 2015 12:50:38 +0000 (UTC) Received: by lbbkw15 with SMTP id kw15so42913947lbb.0 for ; Thu, 19 Nov 2015 04:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=8qYxt2uZWyGft64iMO33UXz+yYhOIcQRo8i7+X0/AmU=; b=BVxztXakaedn7z0PbnLTvN/KZPsskPU3TonnhgY/Fl8Gaw5i5Qkciaknh4BnQNnKmQ sykjd9ettK7yDyHKB4DjM7Xh8U028ex8N46azw/21TET4vUM8rocNh0Fkn30YA8oUNoj 2zD7UdTngWx8OgsBkqRuR683JOqTLiw/o3S/JdtC2vZFYEIuvW/O5KNtchkusd9sa6ii bcUfgYQ9eTKr6xxwwH9g7LkNAxQorjSpCH+0PC/nlmdUm+hFKzTXYPy6b7siQ0E5vhVq Im5QPX8J2MvXDBrFxQ4D5lnIFgu0lnoOP77w0Su/jp9Kq88KqVXp1P2TYawe3nq7+CmO UOiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8qYxt2uZWyGft64iMO33UXz+yYhOIcQRo8i7+X0/AmU=; b=jRbOkjuAzUYm8lQ1Br4n8lIA3d933KtyV0JNG7cEvHZvm4u3OvQJGZB7DE/4+zTiwB MLLZP3ByOwe7QW3d3d0Tn5eBygRk9xn5vQZ4x6d2+tMqvZH3qlF46NVbgNxJsHQdmqhf rjcsV4O9XxTy0cHI0rmB3uYgs/hoeJbwgje8vyKPRVb7PexwkHhSKnyqywuxP9E7hKKz B5uHf9vDvZcVbbSAzVo0hXKvAvvEBekeY27Aaud4FD798CWupzOFcuUF5cGUSEqr8IHM OwxOZeKqbaOPPDW/NKORJin5cfD3xvKbcktCr7XGwzTtWU6moYtvm0aM3W5vMfstm2gO UMFQ== X-Gm-Message-State: ALoCoQl1NN0knCXJbt1Ijwq0gTFJsp/94BvKMFDy7vyThU8FX5+FTLHl3Ht+1DUfyo80DJrWmJ1V X-Received: by 10.112.157.166 with SMTP id wn6mr3200010lbb.30.1447937437196; Thu, 19 Nov 2015 04:50:37 -0800 (PST) Received: from localhost.localdomain (91-157-175-207.elisa-laajakaista.fi. [91.157.175.207]) by smtp.gmail.com with ESMTPSA id ey10sm1181131lbc.29.2015.11.19.04.50.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Nov 2015 04:50:36 -0800 (PST) From: Riku Voipio To: lng-odp@lists.linaro.org Date: Thu, 19 Nov 2015 14:50:33 +0200 Message-Id: <1447937433-25544-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 2.6.2 X-Topics: patch Cc: Riku Voipio Subject: [lng-odp] [PATCH] odp.spec: make docs conditional for fedora only X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Centos build fails to grab neccesary packages: 00:01:29.829 Getting requirements for ./pkg/rpm/odp.spec 00:01:29.832 --> automake-1.13.4-3.el7.noarch 00:01:30.035 --> autoconf-2.69-11.el7.noarch 00:01:30.037 --> libtool-2.4.2-20.el7.aarch64 00:01:30.040 --> 1:openssl-devel-1.0.1e-42.el7.9.aarch64 00:01:30.042 --> 1:doxygen-1.8.5-3.el7.aarch64 00:01:30.044 --> asciidoc-8.6.8-5.el7.noarch 00:01:30.046 --> source-highlight-3.1.6-6.el7.aarch64 00:01:30.059 --> ImageMagick-devel-6.7.8.9-10.el7.aarch64 00:01:30.059 Error: No Package found for mscgen 00:01:30.059 Error: No Package found for texlive-collection-fontsextra 00:01:30.061 Error: No Package found for texlive-collection-latexextra So make documentation builds only on fedora for now. Signed-off-by: Riku Voipio --- pkg/rpm/odp.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec index 3c4c6f7..aa01ecc 100644 --- a/pkg/rpm/odp.spec +++ b/pkg/rpm/odp.spec @@ -16,6 +16,7 @@ BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool BuildRequires: openssl-devel +%if 0%{?fedora} BuildRequires: doxygen BuildRequires: asciidoc BuildRequires: source-highlight @@ -23,6 +24,7 @@ BuildRequires: texlive-collection-fontsextra BuildRequires: texlive-collection-latexextra BuildRequires: ImageMagick-devel BuildRequires: mscgen +%endif %description ODP's reference implementation includes header files and a library