Browse Source

cmake3 package update

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 6 years ago
parent
commit
6426ee751e
  1. 18
      SPECS/cmake3.spec

18
SPECS/cmake3.spec

@ -6,11 +6,11 @@ @@ -6,11 +6,11 @@
%bcond_without gui

# Setting the Python-version used by default
%if 0%{?rhel} && 0%{?rhel} < 8
# %if 0%{?rhel} && 0%{?rhel} < 8
%bcond_with python3
%else
%bcond_without python3
%endif
# %else
# %bcond_without python3
# %endif

# Do we add appdata-files?
%if 0%{?fedora} || 0%{?rhel} > 7
@ -20,11 +20,11 @@ @@ -20,11 +20,11 @@
%endif

# Sphinx-build cannot import CMakeLexer on EPEL <= 6
%if 0%{?fedora} || 0%{?rhel} >= 7
## %if 0%{?fedora} || 0%{?rhel} >= 7
%bcond_without sphinx
%else
%bcond_with sphinx
%endif
## %else
## %bcond_with sphinx
## %endif

# Run tests
%bcond_without test
@ -84,7 +84,7 @@ BuildRequires: expat-devel @@ -84,7 +84,7 @@ BuildRequires: expat-devel
BuildRequires: jsoncpp-devel
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: libarchive-devel
BuildRequires: /usr/bin/sphinx-build
#BuildRequires: /usr/bin/sphinx-build
BuildRequires: rhash-devel
BuildRequires: libuv-devel
%else

Loading…
Cancel
Save