- Package gcc-ar, gcc-nm and gcc-ranlib wrapping ar, nm and ranlib

in a plugin-aware fashion.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=40
This commit is contained in:
Richard Biener 2013-06-19 12:28:32 +00:00 committed by Git OBS Bridge
parent ea11e953ea
commit 8cc13ba008
2 changed files with 49 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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 Mon May 27 12:55:02 UTC 2013 - rguenther@suse.com

View File

@ -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