mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Move manpage logic to the right place
This was not supposed to be inside a compat build conditional.
This commit is contained in:
parent
b1a3301b3d
commit
7ea5877109
1 changed files with 7 additions and 7 deletions
|
@ -106,13 +106,6 @@ 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
|
# Fix permission
|
||||||
chmod u-x %{buildroot}%{_mandir}/man1/scan-build%{exec_suffix}.1*
|
chmod u-x %{buildroot}%{_mandir}/man1/scan-build%{exec_suffix}.1*
|
||||||
|
|
||||||
|
@ -127,6 +120,13 @@ ln -s ../../%{install_bindir}/clang++ %{buildroot}%{install_bindir}/clang++-%{m
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# 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 permissions of scan-view scripts
|
# Fix permissions of scan-view scripts
|
||||||
chmod a+x %{buildroot}%{install_datadir}/scan-view/{Reporter.py,startfile.py}
|
chmod a+x %{buildroot}%{install_datadir}/scan-view/{Reporter.py,startfile.py}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue