Accepting request 220795 from devel:gcc

- Remove gcc-z9 wrapper which is obsolete.

OBS-URL: https://build.opensuse.org/request/show/220795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=48
This commit is contained in:
Stephan Kulow 2014-02-06 06:06:16 +00:00 committed by Git OBS Bridge
commit ce1c17795d
2 changed files with 6 additions and 26 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 4 10:08:54 UTC 2014 - rguenther@suse.com
- Remove gcc-z9 wrapper which is obsolete.
-------------------------------------------------------------------
Mon Dec 2 15:34:27 UTC 2013 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -334,16 +334,6 @@ Requires: gcc%{gcc_version}-ada
The system GNU Ada Compiler.
%endif
%package -n gcc-z9
Summary: The system GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc
%description -n gcc-z9
The system GNU C Compiler.
%prep
%build
@ -409,15 +399,6 @@ ln -sf g++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++
ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
%ifarch s390 s390x
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
dir=${dir%/cc1}
mkdir -p $RPM_BUILD_ROOT/$dir
cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
*default_spec:
%{!mtune=*:-mtune=z10} %{!march=*:-march=z9-109}
EOF
%endif
%files
%defattr(-,root,root)
@ -600,12 +581,6 @@ EOF
%{_prefix}/bin/gij64
%{_prefix}/bin/grmiregistry64
%endif
%ifarch s390 s390x
%files -n gcc-z9
%defattr(-,root,root)
/usr/lib*/gcc/*-suse-linux/*/defaults.spec
%endif
%changelog