This commit is contained in:
parent
9aa4f772f9
commit
0b836082dc
3
cpp
3
cpp
@ -1,4 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Traditionally, /lib/cpp only knew about C.
|
# Traditionally, /lib/cpp only knew about C.
|
||||||
# Also supress GCC and target specific defines and be more permissive.
|
exec /usr/bin/cpp -xc "$@"
|
||||||
exec /usr/bin/cpp -xc -traditional-cpp -undef "$@"
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 23 14:53:40 CET 2007 - rguenther@suse.de
|
||||||
|
|
||||||
|
- Make gcc-gij dependency of gcc-java a recommendation, all java
|
||||||
|
tools are back to the gcc-java package. Require libgcj-devel
|
||||||
|
from gcc-java.
|
||||||
|
- Revert /lib/cpp changes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 16 16:15:54 CET 2007 - rguenther@suse.de
|
Fri Nov 16 16:15:54 CET 2007 - rguenther@suse.de
|
||||||
|
|
||||||
|
35
gcc.spec
35
gcc.spec
@ -24,7 +24,7 @@ Url: http://gcc.gnu.org/
|
|||||||
%define gcc_suffix 4.3
|
%define gcc_suffix 4.3
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Version: 4.3
|
Version: 4.3
|
||||||
Release: 6
|
Release: 9
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Summary: The system GNU C Compiler
|
Summary: The system GNU C Compiler
|
||||||
Provides: c_compiler
|
Provides: c_compiler
|
||||||
@ -192,7 +192,8 @@ Authors:
|
|||||||
Group: Development/Languages/Java
|
Group: Development/Languages/Java
|
||||||
Summary: The system GNU Java Compiler
|
Summary: The system GNU Java Compiler
|
||||||
Requires: gcc%{gcc_version}-java
|
Requires: gcc%{gcc_version}-java
|
||||||
Requires: gcc%{gcc_version}-gij
|
Requires: libgcj-devel
|
||||||
|
Recommends: gcc-gij
|
||||||
Requires: gcc
|
Requires: gcc
|
||||||
|
|
||||||
%description -n gcc-java
|
%description -n gcc-java
|
||||||
@ -352,13 +353,13 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
|
||||||
# Link all the binaries
|
# Link all the binaries
|
||||||
# XXX gjavah
|
# - do not link binaries that conflict with classpath for now
|
||||||
for program in \
|
for program in \
|
||||||
gcc gcov \
|
gcc gcov \
|
||||||
g++ \
|
g++ \
|
||||||
cpp \
|
cpp \
|
||||||
gcj jcf-dump \
|
gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
|
||||||
gc-analyze gcj-dbtool gcjh gij jv-convert \
|
gij \
|
||||||
%if 0
|
%if 0
|
||||||
gappletviewer \
|
gappletviewer \
|
||||||
gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \
|
gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \
|
||||||
@ -383,13 +384,14 @@ for program in \
|
|||||||
ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
|
ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
|
||||||
done
|
done
|
||||||
# Link section 1 manpages
|
# Link section 1 manpages
|
||||||
# XXX gjavah
|
# - do not link manpages that conflict with classpath for now
|
||||||
for man1 in \
|
for man1 in \
|
||||||
gcc gcov \
|
gcc gcov \
|
||||||
g++ \
|
g++ \
|
||||||
cpp \
|
cpp \
|
||||||
gfortran \
|
gfortran \
|
||||||
gcj jcf-dump gc-analyze gcj-dbtool gij \
|
gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \
|
||||||
|
gij \
|
||||||
%if 0
|
%if 0
|
||||||
gappletviewer gjar gjarsigner gjavah \
|
gappletviewer gjar gjarsigner gjavah \
|
||||||
gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \
|
gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \
|
||||||
@ -437,17 +439,21 @@ ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
|||||||
%files -n gcc-java
|
%files -n gcc-java
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/bin/gcj
|
%{_prefix}/bin/gcj
|
||||||
|
%{_prefix}/bin/gcjh
|
||||||
|
%{_prefix}/bin/gcj-dbtool
|
||||||
%{_prefix}/bin/jcf-dump
|
%{_prefix}/bin/jcf-dump
|
||||||
|
%{_prefix}/bin/jv-convert
|
||||||
|
%{_prefix}/bin/gc-analyze
|
||||||
%doc %{_mandir}/man1/gcj.1.gz
|
%doc %{_mandir}/man1/gcj.1.gz
|
||||||
|
%doc %{_mandir}/man1/gcjh.1.gz
|
||||||
|
%doc %{_mandir}/man1/gcj-dbtool.1.gz
|
||||||
%doc %{_mandir}/man1/jcf-dump.1.gz
|
%doc %{_mandir}/man1/jcf-dump.1.gz
|
||||||
|
%doc %{_mandir}/man1/jv-convert.1.gz
|
||||||
|
%doc %{_mandir}/man1/gc-analyze.1.gz
|
||||||
|
|
||||||
%files -n gcc-gij
|
%files -n gcc-gij
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/bin/gc-analyze
|
|
||||||
%{_prefix}/bin/gcj-dbtool
|
|
||||||
%{_prefix}/bin/gcjh
|
|
||||||
%{_prefix}/bin/gij
|
%{_prefix}/bin/gij
|
||||||
%{_prefix}/bin/jv-convert
|
|
||||||
%if 0
|
%if 0
|
||||||
%{_prefix}/bin/gappletviewer
|
%{_prefix}/bin/gappletviewer
|
||||||
%{_prefix}/bin/gjar
|
%{_prefix}/bin/gjar
|
||||||
@ -462,8 +468,6 @@ ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
|||||||
%{_prefix}/bin/gserialver
|
%{_prefix}/bin/gserialver
|
||||||
%{_prefix}/bin/gtnameserv
|
%{_prefix}/bin/gtnameserv
|
||||||
%endif
|
%endif
|
||||||
%doc %{_mandir}/man1/gc-analyze.1.gz
|
|
||||||
%doc %{_mandir}/man1/gcj-dbtool.1.gz
|
|
||||||
%doc %{_mandir}/man1/gij.1.gz
|
%doc %{_mandir}/man1/gij.1.gz
|
||||||
%if 0
|
%if 0
|
||||||
%doc %{_mandir}/man1/gappletviewer.1.gz
|
%doc %{_mandir}/man1/gappletviewer.1.gz
|
||||||
@ -591,6 +595,11 @@ ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 23 2007 - rguenther@suse.de
|
||||||
|
- Make gcc-gij dependency of gcc-java a recommendation, all java
|
||||||
|
tools are back to the gcc-java package. Require libgcj-devel
|
||||||
|
from gcc-java.
|
||||||
|
- Revert /lib/cpp changes.
|
||||||
* Fri Nov 16 2007 - rguenther@suse.de
|
* Fri Nov 16 2007 - rguenther@suse.de
|
||||||
- For now disable symlinking of binaries and manpages that
|
- For now disable symlinking of binaries and manpages that
|
||||||
conflict with the classpath package.
|
conflict with the classpath package.
|
||||||
|
Loading…
Reference in New Issue
Block a user