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 b5bba13 commit d57c888Copy full SHA for d57c888
distro/pkg/rpm/libyang.spec
@@ -1,3 +1,7 @@
1
+%if 0%{?rhel} == 8
2
+%undefine __cmake_in_source_build
3
+%endif
4
+
5
Name: libyang
6
Version: {{ version }}
7
Release: {{ release }}%{?dist}
@@ -49,13 +53,13 @@ written (and providing API) in C.
49
53
%cmake_build
50
54
51
55
%if "x%{?suse_version}" == "x"
52
-cd redhat-linux-build
56
+cd %{__cmake_builddir}
57
%endif
58
make doc
59
60
%check
61
62
63
64
ctest --output-on-failure -V %{?_smp_mflags}
65
0 commit comments