diff mbox

pkg/rpm: different BuildRequires for CentOS

Message ID 1448020111-16540-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit cad017c7ca5f9ff2ad418404052c38a1f7f21e42
Headers show

Commit Message

Anders Roxell Nov. 20, 2015, 11:48 a.m. UTC
Reported-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 pkg/rpm/odp.spec | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Maxim Uvarov Nov. 20, 2015, 1:10 p.m. UTC | #1
Merged,
Maxim.

On 11/20/2015 14:48, Anders Roxell wrote:
> Reported-by: Riku Voipio <riku.voipio@linaro.org>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   pkg/rpm/odp.spec | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec
> index 3c4c6f7..aa57476 100644
> --- a/pkg/rpm/odp.spec
> +++ b/pkg/rpm/odp.spec
> @@ -19,8 +19,14 @@ BuildRequires: openssl-devel
>   BuildRequires: doxygen
>   BuildRequires: asciidoc
>   BuildRequires: source-highlight
> +%if 0%{?fedora}
>   BuildRequires: texlive-collection-fontsextra
>   BuildRequires: texlive-collection-latexextra
> +%else
> +BuildRequires: texlive-latex-bin-bin
> +BuildRequires: texlive-makeindex-bin
> +BuildRequires: texlive-dvips-bin
> +%endif
>   BuildRequires: ImageMagick-devel
>   BuildRequires: mscgen
>
diff mbox

Patch

diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec
index 3c4c6f7..aa57476 100644
--- a/pkg/rpm/odp.spec
+++ b/pkg/rpm/odp.spec
@@ -19,8 +19,14 @@  BuildRequires: openssl-devel
 BuildRequires: doxygen
 BuildRequires: asciidoc
 BuildRequires: source-highlight
+%if 0%{?fedora}
 BuildRequires: texlive-collection-fontsextra
 BuildRequires: texlive-collection-latexextra
+%else
+BuildRequires: texlive-latex-bin-bin
+BuildRequires: texlive-makeindex-bin
+BuildRequires: texlive-dvips-bin
+%endif
 BuildRequires: ImageMagick-devel
 BuildRequires: mscgen