Add Conflicts with main packages
This commit is contained in:
parent
c78b32d95e
commit
2afe045f00
@ -183,6 +183,10 @@ BuildRequires: perl(Sys::Hostname)
|
|||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%if %{with compat_build}
|
||||||
|
Conflicts: clang = %{maj_ver}
|
||||||
|
%endif
|
||||||
|
|
||||||
# clang requires gcc, clang++ requires libstdc++-devel
|
# clang requires gcc, clang++ requires libstdc++-devel
|
||||||
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
|
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
|
||||||
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
|
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
|
||||||
@ -217,6 +221,9 @@ Recommends: libatomic%{?_isa}
|
|||||||
# with -fopenmp.
|
# with -fopenmp.
|
||||||
Recommends: libomp-devel%{sub_pkg_suffix}%{_isa} = %{version}
|
Recommends: libomp-devel%{sub_pkg_suffix}%{_isa} = %{version}
|
||||||
Recommends: libomp%{sub_pkg_suffix}%{_isa} = %{version}
|
Recommends: libomp%{sub_pkg_suffix}%{_isa} = %{version}
|
||||||
|
%if %{with compat_build}
|
||||||
|
Conflicts: clang-libs = %{maj_ver}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Runtime library for clang.
|
Runtime library for clang.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user