Richard Biener 2021-09-29 13:53:39 +00:00 committed by Git OBS Bridge
parent e89494725c
commit a9819cffb1

View File

@ -446,8 +446,9 @@ done
for info in cpp gcc gfortran ; do
ln -sf $info-%{gcc_suffix}.info.gz $RPM_BUILD_ROOT%{_infodir}/$info.info.gz
done
# Provide the traditional /usr/lib/cpp that only handles C
%if !0%{?usrmerged}
# Provide the traditional /lib/cpp (as /usr/lib/cpp on usrmerged systems)
# that only handles C
%if 0%{?suse_version} < 1550
cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
chmod 755 $RPM_BUILD_ROOT/lib/cpp
%else
@ -506,7 +507,7 @@ fi
%files -n cpp
%defattr(-,root,root)
%if !0%{?usrmerged}
%if 0%{?suse_version} < 1550
/lib/cpp
%else
%{_prefix}/lib/cpp