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 @@
%bcond_without gui %bcond_without gui


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


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


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


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

Loading…
Cancel
Save