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:
commit
ce1c17795d
@ -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
|
Mon Dec 2 15:34:27 UTC 2013 - rguenther@suse.com
|
||||||
|
|
||||||
|
27
gcc.spec
27
gcc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gcc
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -334,16 +334,6 @@ Requires: gcc%{gcc_version}-ada
|
|||||||
The system GNU Ada Compiler.
|
The system GNU Ada Compiler.
|
||||||
%endif
|
%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
|
%prep
|
||||||
|
|
||||||
%build
|
%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 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 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
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -600,12 +581,6 @@ EOF
|
|||||||
%{_prefix}/bin/gij64
|
%{_prefix}/bin/gij64
|
||||||
%{_prefix}/bin/grmiregistry64
|
%{_prefix}/bin/grmiregistry64
|
||||||
|
|
||||||
%endif
|
|
||||||
%ifarch s390 s390x
|
|
||||||
|
|
||||||
%files -n gcc-z9
|
|
||||||
%defattr(-,root,root)
|
|
||||||
/usr/lib*/gcc/*-suse-linux/*/defaults.spec
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user