fix sle build

Rev openSUSE:Tools/152 Md5 52f3d7b1f3f20a76489d1391c66b429b 2011-10-25 14:17:37 adrianSuSE None
This commit is contained in:
OBS User adrianSuSE 2011-10-25 14:17:37 +00:00 committed by Git OBS Bridge
parent 8eb11b161f
commit 84b510e466

View File

@ -96,15 +96,15 @@ for generating delta rpm packages.
%install
make DESTDIR=$RPM_BUILD_ROOT install
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
%if 0%{?suse_version}
%if 0%{?sles_version}
ln -s sles%{sles_version}.conf default.conf
%if 0%{?sles_version} < 12
# use sle variation with IA64 compat package generation
install -m 0644 baselibs_global-sle.conf \
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
%endif
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
%if 0%{?suse_version}
%if 0%{?sles_version}
ln -s sles%{sles_version}.conf default.conf
%else
V=%suse_version
ln -s sl${V:0:2}.${V:2:1}.conf default.conf