Accepting request 209286 from devel:gcc

- Move gcc-ar, gcc-nm and gcc-ranlib to the gcc package instead
  of packaging them separately.

OBS-URL: https://build.opensuse.org/request/show/209286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=47
This commit is contained in:
Stephan Kulow 2013-12-05 05:59:17 +00:00 committed by Git OBS Bridge
commit 46c4431070
2 changed files with 12 additions and 42 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 2 15:34:27 UTC 2013 - rguenther@suse.com
- Move gcc-ar, gcc-nm and gcc-ranlib to the gcc package instead
of packaging them separately.
-------------------------------------------------------------------
Wed Jun 19 12:24:24 UTC 2013 - rguenther@suse.com

View File

@ -43,7 +43,10 @@ Summary: The system GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: c_compiler
Obsoletes: gcc-ar
Obsoletes: gcc-mudflap
Obsoletes: gcc-nm
Obsoletes: gcc-ranlib
Requires: cpp
Requires: gcc%{gcc_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -341,36 +344,6 @@ Requires: gcc
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
%build
@ -451,6 +424,9 @@ EOF
%{_prefix}/bin/gcc
%{_prefix}/bin/cc
%{_prefix}/bin/gcov
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm
%{_prefix}/bin/gcc-ranlib
%doc %{_mandir}/man1/gcc.1.gz
%doc %{_mandir}/man1/cc.1.gz
%doc %{_mandir}/man1/gcov.1.gz
@ -632,16 +608,4 @@ EOF
/usr/lib*/gcc/*-suse-linux/*/defaults.spec
%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