From ee5cc3e9a047f33e28492a9278420d1cf3347da3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 23 Mar 2018 18:03:55 +0000 Subject: [PATCH] Add a clang++-{version} symlink rhbz#1534098 --- clang.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/clang.spec b/clang.spec index 0144780..0f3d11d 100644 --- a/clang.spec +++ b/clang.spec @@ -17,6 +17,7 @@ %{_bindir}/clang \ %{_bindir}/clang++ \ %{_bindir}/clang-%{maj_ver}.%{min_ver} \ + %{_bindir}/clang++-%{maj_ver}.%{min_ver} \ %{_bindir}/clang-check \ %{_bindir}/clang-cl \ %{_bindir}/clang-cpp \ @@ -37,7 +38,7 @@ Name: clang Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 4%{?dist} +Release: 5%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -248,6 +249,9 @@ rm -Rvf %{buildroot}%{_pkgdocdir} # TODO: What are the Fedora guidelines for packaging bash autocomplete files? rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh +# Add clang++-{version} sylink +ln -s %{_bindir}/clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}.%{min_ver} + %check # requires lit.py from LLVM utilities cd _build @@ -317,6 +321,9 @@ make %{?_smp_mflags} check || : %{python2_sitelib}/clang/ %changelog +* Fri Mar 23 2018 Tom Stellard - 6.0.0-5 +- Add a clang++-{version} symlink rhbz#1534098 + * Thu Mar 22 2018 Tom Stellard - 6.0.0-4 - Use correct script for running lit tests