We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4d7de commit f729c24Copy full SHA for f729c24
packages/libyang.spec.in
@@ -8,7 +8,7 @@ Source1: @[email protected]
8
License: BSD-3-Clause
9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
10
11
-%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?fedora} && 0%{?fedora} < 27)
+%if 0%{?scientificlinux_version} == 700
12
%define with_lang_bind 0
13
%else
14
%define with_lang_bind 1
@@ -22,10 +22,15 @@ BuildRequires: gcc
22
BuildRequires: libcmocka-devel
23
24
%if %{with_lang_bind}
25
+
26
BuildRequires: gcc-c++
27
+%if 0%{?centos_version}
28
+BuildRequires: swig3 >= 3.0.12
29
+%else
30
BuildRequires: swig >= 3.0.12
31
+%endif
32
-%if 0%{?suse_version} + 0%{?fedora} > 0
33
+%if 0%{?suse_version} + 0%{?fedora} + 0%{?centos_version} > 0
34
BuildRequires: python3-devel
35
36
BuildRequires: python36-devel
0 commit comments