summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/base-gcj.add
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gcc3newlib/base-gcj.add')
-rw-r--r--scripts/gcc3newlib/base-gcj.add8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/gcc3newlib/base-gcj.add b/scripts/gcc3newlib/base-gcj.add
index 681e235574..5245bee1ec 100644
--- a/scripts/gcc3newlib/base-gcj.add
+++ b/scripts/gcc3newlib/base-gcj.add
@@ -14,15 +14,18 @@ This is the files for gcc/java (gcj) that are shared by all targets.
%files -n %{rpmprefix}rtems@osversion@-base-gcj
%defattr(-,root,root)
+%if "%{gcc_version}" <= "3.4"
%dir %{_prefix}/bin
%{_prefix}/bin/jar%{_exeext}
%{_prefix}/bin/grepjar%{_exeext}
+%endif
%dir %{_prefix}/info
-%doc %{_prefix}/info/gcj.info*.gz
+%doc %{_prefix}/info/gcj.info*
%if "%{gcc_version}" >= "3.3"
-%doc %{_prefix}/info/fastjar.info*gz
+%doc %{_prefix}/info/fastjar.info*
%endif
+%if "%{gcc_version}" >= "3.3" && "%{gcc_version}" <= "3.4"
%dir %{_prefix}/man/man1
%doc %{_prefix}/man/man1/gcjh.1*
%doc %{_prefix}/man/man1/jv-scan.1*
@@ -31,7 +34,6 @@ This is the files for gcc/java (gcj) that are shared by all targets.
%doc %{_prefix}/man/man1/jv-convert.1*
%doc %{_prefix}/man/man1/rmic.1*
%doc %{_prefix}/man/man1/rmiregistry.1*
-%if "%{gcc_version}" >= "3.3"
%doc %{_prefix}/man/man1/jar.1*
%doc %{_prefix}/man/man1/grepjar.1*
%endif