diff mbox

odp.spec: make docs conditional for fedora only

Message ID 1447937433-25544-1-git-send-email-riku.voipio@linaro.org
State New
Headers show

Commit Message

Riku Voipio Nov. 19, 2015, 12:50 p.m. UTC
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 <riku.voipio@linaro.org>
---
 pkg/rpm/odp.spec | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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