mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
More manpage fixes
This commit is contained in:
parent
cb2a64838a
commit
18a2915295
2 changed files with 15 additions and 13 deletions
|
@ -341,11 +341,11 @@
|
||||||
%{install_bindir}/clang-cpp
|
%{install_bindir}/clang-cpp
|
||||||
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
||||||
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
||||||
|
%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
||||||
|
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
%{_mandir}/man1/clang.1.gz
|
%{_mandir}/man1/clang.1.gz
|
||||||
%{_mandir}/man1/clang++.1.gz
|
%{_mandir}/man1/clang++.1.gz
|
||||||
%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
|
||||||
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
|
||||||
%else
|
%else
|
||||||
%{_bindir}/clang-%{maj_ver}
|
%{_bindir}/clang-%{maj_ver}
|
||||||
%{_bindir}/clang++-%{maj_ver}
|
%{_bindir}/clang++-%{maj_ver}
|
||||||
|
@ -404,8 +404,8 @@
|
||||||
%{install_libexecdir}/intercept-cc
|
%{install_libexecdir}/intercept-cc
|
||||||
%{install_datadir}/scan-view/
|
%{install_datadir}/scan-view/
|
||||||
%{install_datadir}/scan-build/
|
%{install_datadir}/scan-build/
|
||||||
|
%{_mandir}/man1/scan-build%{exec_suffix}.1.*
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
%{_mandir}/man1/scan-build.1.*
|
|
||||||
%{python3_sitelib}/libear
|
%{python3_sitelib}/libear
|
||||||
%{python3_sitelib}/libscanbuild
|
%{python3_sitelib}/libscanbuild
|
||||||
%endif
|
%endif
|
||||||
|
@ -481,12 +481,12 @@
|
||||||
%{_bindir}/clang-format-diff-%{maj_ver}
|
%{_bindir}/clang-format-diff-%{maj_ver}
|
||||||
%{_bindir}/run-clang-tidy-%{maj_ver}
|
%{_bindir}/run-clang-tidy-%{maj_ver}
|
||||||
%else
|
%else
|
||||||
%{_mandir}/man1/diagtool.1.gz
|
|
||||||
%{_mandir}/man1/extraclangtools.1.gz
|
|
||||||
%{_emacs_sitestartdir}/clang-format.el
|
%{_emacs_sitestartdir}/clang-format.el
|
||||||
%{_emacs_sitestartdir}/clang-rename.el
|
%{_emacs_sitestartdir}/clang-rename.el
|
||||||
%{_emacs_sitestartdir}/clang-include-fixer.el
|
%{_emacs_sitestartdir}/clang-include-fixer.el
|
||||||
%endif
|
%endif
|
||||||
|
%{_mandir}/man1/diagtool%{exec_suffix}.1.gz
|
||||||
|
%{_mandir}/man1/extraclangtools%{exec_suffix}.1.gz
|
||||||
%{install_datadir}/clang/clang-format.py*
|
%{install_datadir}/clang/clang-format.py*
|
||||||
%{install_datadir}/clang/clang-format-diff.py*
|
%{install_datadir}/clang/clang-format-diff.py*
|
||||||
%{install_datadir}/clang/clang-include-fixer.py*
|
%{install_datadir}/clang/clang-include-fixer.py*
|
||||||
|
|
|
@ -101,19 +101,21 @@ for f in clang-format.el clang-rename.el clang-include-fixer.el; do
|
||||||
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
|
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
|
||||||
done
|
done
|
||||||
|
|
||||||
# Create Manpage symlinks
|
|
||||||
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++.1.gz
|
|
||||||
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
|
||||||
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
|
||||||
|
|
||||||
# Fix permission
|
|
||||||
chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
|
|
||||||
|
|
||||||
# Add clang++-{version} symlink
|
# Add clang++-{version} symlink
|
||||||
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
|
# Create Manpage symlinks
|
||||||
|
ln -s clang%{exec_suffix}.1.gz %{buildroot}%{_mandir}/man1/clang++%{exec_suffix}.1.gz
|
||||||
|
%if %{without compat_build}
|
||||||
|
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
||||||
|
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Fix permission
|
||||||
|
chmod u-x %{buildroot}%{_mandir}/man1/scan-build%{exec_suffix}.1*
|
||||||
|
|
||||||
# Not sure where to put these python modules for the compat build.
|
# Not sure where to put these python modules for the compat build.
|
||||||
rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
|
rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue