| |
@@ -43,7 +43,7 @@
|
| |
# Build source is github release=1 or git commit=0
|
| |
%global build_release 0
|
| |
|
| |
- %global rel 7
|
| |
+ %global rel 8
|
| |
|
| |
%if 0%{?build_release} > 0
|
| |
Release: %{rel}%{?dist}
|
| |
@@ -160,7 +160,7 @@
|
| |
|
| |
|
| |
# Documentation generation
|
| |
- %if 0%{?rhel} <= 7
|
| |
+ %if 0%{?rhel} && 0%{?rhel} <= 7
|
| |
BuildRequires: python-sphinx
|
| |
%else
|
| |
BuildRequires: python3-sphinx
|
| |
@@ -455,6 +455,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Apr 30 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 0.6.0-8.20180326git1748f3b
|
| |
+ - Fix condition for python-sphinx on Fedora
|
| |
+
|
| |
* Fri Apr 20 2018 Michal Ambroz <rebus at, seznam.cz> 0.6.0-7.20180326git1748f3b
|
| |
- fix the link creation to python core library
|
| |
|
| |
On Fedora
0%{?rhel}
evaluates to 0, so0%{?rhel} <= 7
evaluates to True.This change makes sure that python3-sphinx is required on Fedora.