#104 Add clang-format-diff symlink
Merged 3 years ago by tstellar. Opened 3 years ago by tstellar.
rpms/ tstellar/clang clang-format-diff-fix  into  rawhide

file modified
+9 -1
@@ -4,7 +4,7 @@ 

  %global min_ver 0

  %global patch_ver 0

  %global rc_ver 5

- %global baserelease 11

+ %global baserelease 12

  

  %global clang_tools_binaries \

  	%{_bindir}/clang-apply-replacements \
@@ -446,6 +446,9 @@ 

  # Remove clang-tidy headers.  We don't ship the libraries for these.

  rm -Rvf %{buildroot}%{_includedir}/clang-tidy/

  

+ # Add a symlink in /usr/bin to clang-format-diff

+ ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format-diff

+ 

  %check

  %if !0%{?compat_build}

  # requires lit.py from LLVM utilities
@@ -517,6 +520,7 @@ 

  %{_bindir}/c-index-test

  %{_bindir}/find-all-symbols

  %{_bindir}/modularize

+ %{_bindir}/clang-format-diff

  %{_mandir}/man1/diagtool.1.gz

  %{_emacs_sitestartdir}/clang-format.el

  %{_emacs_sitestartdir}/clang-rename.el
@@ -538,6 +542,10 @@ 

  

  %endif

  %changelog

+ * Wed Apr 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-0.12.rc5

+ - Add symlink to clang-format-diff in /usr/bin

+ - rhbz#1939018

+ 

  * Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5

  - New upstream release candidate

  

@@ -0,0 +1,7 @@ 

+ #!/bin/bash

+ 

+ set -ex

+ 

+ # Check that clang-format-diff is in PATH.

+ # rhbz#1939018

+ clang-format-diff -h

file modified
+3
@@ -24,6 +24,8 @@ 

        # Required for fedora-flags:

        - annobin

        - redhat-rpm-config

+       # Required for clang-format-diff

+       - clang-tools-extra

  

      repositories:

      - repo: "https://src.fedoraproject.org/rpms/llvm-test-suite.git"
@@ -40,3 +42,4 @@ 

        - llvm-toolchain

        - fedora-flags

        - toolchains

+       - clang-format-diff

no initial comment

rebased onto f905d90e16bb6f0627e9e5e4b741ef2f996dcf1b

3 years ago

2 new commits added

  • Add symlink to clang-format-diff in /usr/bin
  • Import tests from tests/clang repository
3 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto e8cbe82

3 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Pull-Request has been merged by tstellar

3 years ago