Accepting request 182318 from devel:gcc

- Package gcc-ar, gcc-nm and gcc-ranlib wrapping ar, nm and ranlib
  in a plugin-aware fashion.

- Switch gcc to default 4.8.

OBS-URL: https://build.opensuse.org/request/show/182318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=45
This commit is contained in:
Stephan Kulow 2013-07-05 13:51:39 +00:00 committed by Git OBS Bridge
commit 8be6bbb837
2 changed files with 57 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jun 19 12:24:24 UTC 2013 - rguenther@suse.com
- Package gcc-ar, gcc-nm and gcc-ranlib wrapping ar, nm and ranlib
in a plugin-aware fashion.
-------------------------------------------------------------------
Mon May 27 12:55:02 UTC 2013 - rguenther@suse.com
- Switch gcc to default 4.8.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 7 09:10:36 UTC 2013 - rguenther@suse.com Mon Jan 7 09:10:36 UTC 2013 - rguenther@suse.com

View File

@ -35,9 +35,9 @@ Name: gcc
%define build_ada 0 %define build_ada 0
%endif %endif
Url: http://gcc.gnu.org/ Url: http://gcc.gnu.org/
%define gcc_version 47 %define gcc_version 48
%define gcc_suffix 4.7 %define gcc_suffix 4.8
Version: 4.7 Version: 4.8
Release: 0 Release: 0
Summary: The system GNU C Compiler Summary: The system GNU C Compiler
License: GPL-3.0+ License: GPL-3.0+
@ -341,6 +341,36 @@ Requires: gcc
The system GNU C Compiler. The system GNU C Compiler.
%package -n gcc-ar
Summary: Plugin aware AR utility
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc
%description -n gcc-ar
Linker plugin aware AR utility.
%package -n gcc-nm
Summary: Plugin aware NM utility
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc
%description -n gcc-nm
Linker plugin aware NM utility.
%package -n gcc-ranlib
Summary: Plugin aware RANLIB utility
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc
%description -n gcc-ranlib
Linker plugin aware RANLIB utility.
%prep %prep
%build %build
@ -376,6 +406,7 @@ for program in \
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 %endif
gcc-ar gcc-nm gcc-ranlib \
; 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
@ -601,4 +632,16 @@ EOF
/usr/lib*/gcc/*-suse-linux/*/defaults.spec /usr/lib*/gcc/*-suse-linux/*/defaults.spec
%endif %endif
%files -n gcc-ar
%defattr(-,root,root)
%{_prefix}/bin/gcc-ar
%files -n gcc-nm
%defattr(-,root,root)
%{_prefix}/bin/gcc-nm
%files -n gcc-ranlib
%defattr(-,root,root)
%{_prefix}/bin/gcc-ranlib
%changelog %changelog