- Add info directory aliases for unversioned variants of the

GCC user manuals.  [bnc#635355]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=13
This commit is contained in:
Richard Biener 2010-12-10 11:53:54 +00:00 committed by Git OBS Bridge
parent ceae5137e2
commit 7fe9ce0441
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 10 11:53:06 UTC 2010 - rguenther@novell.com
- Add info directory aliases for unversioned variants of the
GCC user manuals. [bnc#635355]
-------------------------------------------------------------------
Mon Nov 29 12:24:23 UTC 2010 - rguenther@novell.com

View File

@ -113,11 +113,32 @@ The system GNU Compiler locale files.
License: GFDLv1.1
Group: Development/Languages/C and C++
Summary: The system GNU Compiler documentation
PreReq: %{install_info_prereq}
Requires: gcc%{gcc_version}-info
%description -n gcc-info
The system GNU Compiler documentation.
# There is intentionally no postun with install_info_delete as there
# is no way to just remove the aliased entries. The content owners
# install_info_delete will also remove the aliases though.
# install-info does not pick up descriptions from the content.
%post -n gcc-info
%install_info --info-dir=%{_infodir} \
--name=cpp --description=\"The GNU C preprocessor.\" \
%{_infodir}/cpp-%{gcc_suffix}.info.gz
%install_info --info-dir=%{_infodir} \
--name=gcc --description=\"The GNU Compiler Collection.\" \
%{_infodir}/gcc-%{gcc_suffix}.info.gz
%install_info --info-dir=%{_infodir} \
--name=g++ --description=\"The GNU C++ compiler.\" \
%{_infodir}/g++-%{gcc_suffix}.info.gz
%install_info --info-dir=%{_infodir} \
--name=gcj --description=\"Ahead-of-time compiler for the Java language\" \
%{_infodir}/gcj-%{gcc_suffix}.info.gz
%install_info --info-dir=%{_infodir} \
--name=gfortran --description=\"The GNU Fortran compiler.\" \
%{_infodir}/gfortran-%{gcc_suffix}.info.gz
%package -n gcc-c++