Accepting request 138334 from openSUSE:Factory:ARM
- remove gcc-ada subpackage for those architectures that don't have a gccXX-ada package OBS-URL: https://build.opensuse.org/request/show/138334 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=32
This commit is contained in:
parent
a6ba9757e1
commit
09d3438c55
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 4 18:21:01 UTC 2012 - dmueller@suse.com
|
||||||
|
|
||||||
|
- remove gcc-ada subpackage for those architectures that
|
||||||
|
don't have a gccXX-ada package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 18 11:26:15 UTC 2012 - rguenther@suse.com
|
Wed Apr 18 11:26:15 UTC 2012 - rguenther@suse.com
|
||||||
|
|
||||||
|
17
gcc.spec
17
gcc.spec
@ -25,6 +25,15 @@ Name: gcc
|
|||||||
%ifarch x86_64 s390x ppc64
|
%ifarch x86_64 s390x ppc64
|
||||||
%define separate_bi32 1
|
%define separate_bi32 1
|
||||||
%endif
|
%endif
|
||||||
|
# Ada currently fails to build on a few platforms, enable it only
|
||||||
|
# on those that work
|
||||||
|
# Note that AdaCore only supports %ix86, x86_64 and ia64
|
||||||
|
%ifarch %ix86 x86_64 ppc s390 ia64
|
||||||
|
%define build_ada 1
|
||||||
|
%else
|
||||||
|
# alpha ppc64 s390x hppa arm
|
||||||
|
%define build_ada 0
|
||||||
|
%endif
|
||||||
Url: http://gcc.gnu.org/
|
Url: http://gcc.gnu.org/
|
||||||
%define gcc_version 47
|
%define gcc_version 47
|
||||||
%define gcc_suffix 4.7
|
%define gcc_suffix 4.7
|
||||||
@ -302,7 +311,7 @@ Requires: gcc-objc = %{version}
|
|||||||
The system GNU Objective C++ Compiler.
|
The system GNU Objective C++ Compiler.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{build_ada}
|
||||||
%package -n gcc-ada
|
%package -n gcc-ada
|
||||||
Summary: The system GNU Ada Compiler
|
Summary: The system GNU Ada Compiler
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -312,7 +321,7 @@ Requires: gcc%{gcc_version}-ada
|
|||||||
|
|
||||||
%description -n gcc-ada
|
%description -n gcc-ada
|
||||||
The system GNU Ada Compiler.
|
The system GNU Ada Compiler.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n gcc-z9
|
%package -n gcc-z9
|
||||||
Summary: The system GNU C Compiler
|
Summary: The system GNU C Compiler
|
||||||
@ -354,8 +363,10 @@ for program in \
|
|||||||
gij64 \
|
gij64 \
|
||||||
%endif
|
%endif
|
||||||
gfortran \
|
gfortran \
|
||||||
|
%if %{build_ada}
|
||||||
gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
|
gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
|
||||||
gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
|
gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
|
||||||
|
%endif
|
||||||
; do
|
; do
|
||||||
ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
|
ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
|
||||||
done
|
done
|
||||||
@ -482,6 +493,7 @@ EOF
|
|||||||
# empty - only for the dependency
|
# empty - only for the dependency
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if %{build_ada}
|
||||||
%files -n gcc-ada
|
%files -n gcc-ada
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/bin/gnat
|
%{_prefix}/bin/gnat
|
||||||
@ -498,6 +510,7 @@ EOF
|
|||||||
%{_prefix}/bin/gnatprep
|
%{_prefix}/bin/gnatprep
|
||||||
%{_prefix}/bin/gnatxref
|
%{_prefix}/bin/gnatxref
|
||||||
%{_prefix}/bin/gprmake
|
%{_prefix}/bin/gprmake
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libstdc++-devel
|
%files -n libstdc++-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user