Accepting request 288477 from devel:gcc
- Add gcc-ada-32bit and gcc-ada-64bit packages only if building Ada (forwarded request 288474 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/288477 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=52
This commit is contained in:
commit
e52f40dce8
10
gcc.changes
10
gcc.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 13:34:23 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
- Add gcc-ada-32bit and gcc-ada-64bit packages only if building Ada
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 25 14:21:45 UTC 2015 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Add gcc-ada-32bit and gcc-ada-64bit packages.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 4 07:29:43 UTC 2015 - meissner@suse.com
|
Wed Feb 4 07:29:43 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
40
gcc.spec
40
gcc.spec
@ -31,7 +31,7 @@ Name: gcc
|
|||||||
%ifarch %ix86 x86_64 ppc ppc64 s390 ia64
|
%ifarch %ix86 x86_64 ppc ppc64 s390 ia64
|
||||||
%define build_ada 1
|
%define build_ada 1
|
||||||
%else
|
%else
|
||||||
# alpha ppc64 s390x hppa arm
|
# alpha s390x hppa arm
|
||||||
%define build_ada 0
|
%define build_ada 0
|
||||||
%endif
|
%endif
|
||||||
Url: http://gcc.gnu.org/
|
Url: http://gcc.gnu.org/
|
||||||
@ -341,6 +341,8 @@ Requires: gcc-objc = %{version}
|
|||||||
%description -n gcc-obj-c++
|
%description -n gcc-obj-c++
|
||||||
The system GNU Objective C++ Compiler.
|
The system GNU Objective C++ Compiler.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package -n gcc-PIE
|
%package -n gcc-PIE
|
||||||
Summary: A default configuration to build all binaries in PIE mode
|
Summary: A default configuration to build all binaries in PIE mode
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -354,7 +356,6 @@ Independend Executable (PIE) variant. This enables better address
|
|||||||
space randomization (ASLR).
|
space randomization (ASLR).
|
||||||
|
|
||||||
|
|
||||||
%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+
|
||||||
@ -364,7 +365,26 @@ 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-ada-32bit
|
||||||
|
Summary: The system GNU Ada Compiler
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: gcc%{gcc_version}-ada-32bit
|
||||||
|
Requires: gcc-ada = %{version}
|
||||||
|
|
||||||
|
%description -n gcc-ada-32bit
|
||||||
|
The system GNU Ada Compiler 32 bit support.
|
||||||
|
|
||||||
|
%package -n gcc-ada-64bit
|
||||||
|
Summary: The system GNU Ada Compiler
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: gcc%{gcc_version}-ada-64bit
|
||||||
|
Requires: gcc-ada = %{version}
|
||||||
|
|
||||||
|
%description -n gcc-ada-64bit
|
||||||
|
The system GNU Ada Compiler 64 bit support.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
@ -607,6 +627,13 @@ EOF
|
|||||||
%{_prefix}/bin/gij32
|
%{_prefix}/bin/gij32
|
||||||
%{_prefix}/bin/grmiregistry32
|
%{_prefix}/bin/grmiregistry32
|
||||||
|
|
||||||
|
%if %{build_ada}
|
||||||
|
%files -n gcc-ada-32bit
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# empty - only for the dependency
|
||||||
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
%if %{separate_bi64}
|
%if %{separate_bi64}
|
||||||
|
|
||||||
@ -640,6 +667,13 @@ EOF
|
|||||||
%{_prefix}/bin/gij64
|
%{_prefix}/bin/gij64
|
||||||
%{_prefix}/bin/grmiregistry64
|
%{_prefix}/bin/grmiregistry64
|
||||||
|
|
||||||
|
%if %{build_ada}
|
||||||
|
%files -n gcc-ada-64bit
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# empty - only for the dependency
|
||||||
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user