#132 rpm-linter fixes
Merged 3 months ago by tstellar. Opened 6 months ago by tstellar.
rpms/ tstellar/clang linter-fixes  into  rawhide

file modified
+3
@@ -1,3 +1,6 @@ 

  # clang needs libstdc++-devel installed in order to compile c++ programs.

  addFilter("E: devel-dependency libstdc\+\+-devel")

  addFilter("E: explicit-lib-dependency libstdc\+\+-devel")

+ # clang installs libear to /usr/lib on all arches, so we have to use

+ # a hard-coded /usr/lib path in order to move it to the python3 sitelib.

+ addFilter("E: hardcoded-library-path in %{_prefix}/lib/{libear")

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

  

  Name:		%pkg_name

  Version:	%{clang_version}%{?rc_ver:~rc%{rc_ver}}

- Release:	1%{?dist}

+ Release:	2%{?dist}

  Summary:	A C language family front-end for LLVM

  

  License:	NCSA
@@ -293,6 +293,8 @@ 

  	tools/clang-format/git-clang-format \

  	utils/hmaptool/hmaptool \

  	tools/scan-view/bin/scan-view \

+ 	tools/scan-view/share/Reporter.py \

+ 	tools/scan-view/share/startfile.py \

  	tools/scan-build-py/bin/* \

  	tools/scan-build-py/libexec/*

  %endif
@@ -413,6 +415,9 @@ 

  mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib}

  %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/{libear,libscanbuild}

  

+ # Fix permissions of scan-view scripts

+ chmod a+x %{buildroot}%{_datadir}/scan-view/{Reporter.py,startfile.py}

+ 

  # multilib fix

  %multilib_fix_c_header --file %{_includedir}/clang/Config/config.h

  
@@ -575,6 +580,9 @@ 

  

  %endif

  %changelog

+ * Wed Feb 16 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-2

+ - Fix some rpmlinter errors

+ 

  * Thu Feb 03 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1

  - Update to LLVM 13.0.1 final

  

no initial comment

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

2 new commits added

  • Fix some rpmlinter errors
  • Fix changelog
6 months ago

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

@tstellar this looks good, cna you fix the conflict with updated branch?

rebased onto d00bef93b5990c3d399367204bb4258e245c8cb6

3 months ago

Build succeeded.

rebased onto eaac7c9

3 months ago

Build succeeded.

Pull-Request has been merged by tstellar

3 months ago
Metadata