- Remove bogus link to versioned g++.info file which doesn't exist.
Instead refer to gcc.info from the g++ info directory entry. [bnc#922419] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=80
This commit is contained in:
parent
c7f984eccf
commit
a786bd0997
@ -2,6 +2,9 @@
|
|||||||
Wed Jun 7 11:39:55 UTC 2017 - rguenther@suse.com
|
Wed Jun 7 11:39:55 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
- Guard gcc-devel so it is only built on Tumbleweed.
|
- Guard gcc-devel so it is only built on Tumbleweed.
|
||||||
|
- Remove bogus link to versioned g++.info file which doesn't exist.
|
||||||
|
Instead refer to gcc.info from the g++ info directory entry.
|
||||||
|
[bnc#922419]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 6 09:55:59 UTC 2017 - mliska@suse.cz
|
Tue Jun 6 09:55:59 UTC 2017 - mliska@suse.cz
|
||||||
|
7
gcc.spec
7
gcc.spec
@ -128,7 +128,7 @@ The system GNU Compiler documentation.
|
|||||||
%post -n gcc-info
|
%post -n gcc-info
|
||||||
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
|
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
|
||||||
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
||||||
%install_info --info-dir=%{_infodir} --name=g++ --description='The GNU C++ compiler.' %{_infodir}/g++.info.gz
|
%install_info --info-dir=%{_infodir} --name=g++ --description='The GNU C++ compiler.' %{_infodir}/gcc.info.gz
|
||||||
%install_info --info-dir=%{_infodir} --name=gfortran --description='The GNU Fortran compiler.' %{_infodir}/gfortran.info.gz
|
%install_info --info-dir=%{_infodir} --name=gfortran --description='The GNU Fortran compiler.' %{_infodir}/gfortran.info.gz
|
||||||
|
|
||||||
# if we uninstall, clean the entries
|
# if we uninstall, clean the entries
|
||||||
@ -136,7 +136,7 @@ The system GNU Compiler documentation.
|
|||||||
if [ "$1" -eq "0" ] ; then
|
if [ "$1" -eq "0" ] ; then
|
||||||
%install_info --delete --info-dir=%{_infodir} --name=cpp %{_infodir}/cpp.info.gz
|
%install_info --delete --info-dir=%{_infodir} --name=cpp %{_infodir}/cpp.info.gz
|
||||||
%install_info --delete --info-dir=%{_infodir} --name=gcc %{_infodir}/gcc.info.gz
|
%install_info --delete --info-dir=%{_infodir} --name=gcc %{_infodir}/gcc.info.gz
|
||||||
%install_info --delete --info-dir=%{_infodir} --name=g++ %{_infodir}/g++.info.gz
|
%install_info --delete --info-dir=%{_infodir} --name=g++ %{_infodir}/gcc.info.gz
|
||||||
%install_info --delete --info-dir=%{_infodir} --name=gfortran %{_infodir}/gfortran.info.gz
|
%install_info --delete --info-dir=%{_infodir} --name=gfortran %{_infodir}/gfortran.info.gz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -403,7 +403,7 @@ for man1 in \
|
|||||||
ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
|
ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
|
||||||
done
|
done
|
||||||
# Link info pages
|
# Link info pages
|
||||||
for info in cpp gcc g++ gfortran ; do
|
for info in cpp gcc gfortran ; do
|
||||||
ln -sf $info-%{gcc_suffix}.info.gz $RPM_BUILD_ROOT%{_infodir}/$info.info.gz
|
ln -sf $info-%{gcc_suffix}.info.gz $RPM_BUILD_ROOT%{_infodir}/$info.info.gz
|
||||||
done
|
done
|
||||||
# Provide the traditional /lib/cpp that only handles C
|
# Provide the traditional /lib/cpp that only handles C
|
||||||
@ -489,7 +489,6 @@ EOF
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_infodir}/cpp.info.gz
|
%{_infodir}/cpp.info.gz
|
||||||
%{_infodir}/gcc.info.gz
|
%{_infodir}/gcc.info.gz
|
||||||
%{_infodir}/g++.info.gz
|
|
||||||
%{_infodir}/gfortran.info.gz
|
%{_infodir}/gfortran.info.gz
|
||||||
|
|
||||||
%if %{build_ada}
|
%if %{build_ada}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user