summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc/target-gcc.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/gcc/target-gcc.add')
-rw-r--r--contrib/crossrpms/gcc/target-gcc.add10
1 files changed, 3 insertions, 7 deletions
diff --git a/contrib/crossrpms/gcc/target-gcc.add b/contrib/crossrpms/gcc/target-gcc.add
index 5255172d53..eff3375133 100644
--- a/contrib/crossrpms/gcc/target-gcc.add
+++ b/contrib/crossrpms/gcc/target-gcc.add
@@ -14,19 +14,15 @@ GNU cc compiler for @tool_target@.
%files -n @rpmprefix@@tool_target@-gcc -f build/files.gcc
%defattr(-,root,root)
-%if "%{_prefix}" != "/usr"
-%dir %{_mandir}
-%dir %{_mandir}/man1
-%endif
+%sysdir %{_mandir}
+%sysdir %{_mandir}/man1
%{_mandir}/man1/@tool_target@-gcc.1*
%if "%{gcc_version}" >= "3.4"
%{_mandir}/man1/@tool_target@-cpp.1*
%{_mandir}/man1/@tool_target@-gcov.1*
%endif
-%if "%{_prefix}" != "/usr"
-%dir %{_bindir}
-%endif
+%sysdir %{_bindir}
%{_bindir}/@tool_target@-cpp%{_exeext}
%{_bindir}/@tool_target@-gcc%{_exeext}
%if "%{gcc_version}" >= "3.3"