This commit is contained in:
parent
e89494725c
commit
a9819cffb1
7
gcc.spec
7
gcc.spec
@ -446,8 +446,9 @@ done
|
|||||||
for info in cpp gcc 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 /usr/lib/cpp that only handles C
|
# Provide the traditional /lib/cpp (as /usr/lib/cpp on usrmerged systems)
|
||||||
%if !0%{?usrmerged}
|
# that only handles C
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
|
cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
|
||||||
chmod 755 $RPM_BUILD_ROOT/lib/cpp
|
chmod 755 $RPM_BUILD_ROOT/lib/cpp
|
||||||
%else
|
%else
|
||||||
@ -506,7 +507,7 @@ fi
|
|||||||
|
|
||||||
%files -n cpp
|
%files -n cpp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
/lib/cpp
|
/lib/cpp
|
||||||
%else
|
%else
|
||||||
%{_prefix}/lib/cpp
|
%{_prefix}/lib/cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user