fix sle build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=152
This commit is contained in:
parent
fb0dd2fe2f
commit
018c9ac458
@ -96,15 +96,15 @@ for generating delta rpm packages.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT 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
|
%if 0%{?sles_version} < 12
|
||||||
# use sle variation with IA64 compat package generation
|
# use sle variation with IA64 compat package generation
|
||||||
install -m 0644 baselibs_global-sle.conf \
|
install -m 0644 baselibs_global-sle.conf \
|
||||||
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
|
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
|
||||||
%endif
|
%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
|
%else
|
||||||
V=%suse_version
|
V=%suse_version
|
||||||
ln -s sl${V:0:2}.${V:2:1}.conf default.conf
|
ln -s sl${V:0:2}.${V:2:1}.conf default.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user