From 7ea5877109e39b472f1e628d18a6ff6447721f78 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 2 Aug 2024 11:39:18 +0000 Subject: [PATCH] Move manpage logic to the right place This was not supposed to be inside a compat build conditional. --- install.spec.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/install.spec.inc b/install.spec.inc index e50e899..baba840 100644 --- a/install.spec.inc +++ b/install.spec.inc @@ -106,13 +106,6 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver} %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* @@ -127,6 +120,13 @@ ln -s ../../%{install_bindir}/clang++ %{buildroot}%{install_bindir}/clang++-%{m %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 chmod a+x %{buildroot}%{install_datadir}/scan-view/{Reporter.py,startfile.py}