forked from pool/build
- calculate leap version for default config
Rev openSUSE:Tools/287 Md5 b20ad455d39e17f624c4c8b1d640a8e8 2016-08-11 13:53:48 adrianSuSE 418297
This commit is contained in:
parent
52260c6ee3
commit
244fb68f8a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 10 11:51:43 UTC 2016 - lnussel@suse.de
|
||||
|
||||
- calculate leap version for default config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 13:36:48 UTC 2016 - adrian@suse.de
|
||||
|
||||
|
@ -140,9 +140,11 @@ chmod 0644 $RPM_BUILD_ROOT/usr/lib/build/initvm.*
|
||||
# main
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
|
||||
%if "%{?suse_version}" == "1315" && 0%{?is_opensuse}
|
||||
# super special leap distro
|
||||
ln -s sl42.1.conf default.conf
|
||||
%if 0%{?sle_version} && 0%{?is_opensuse}
|
||||
# super special leap distro
|
||||
major="$[%sle_version/10000+30]"
|
||||
minor="$[%sle_version/100-1200]"
|
||||
ln -s sl$major.$minor.conf default.conf
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?sles_version}
|
||||
|
Loading…
Reference in New Issue
Block a user