SHA256
3
0
forked from pool/rpm

- Define sle_version in leap [bnc#1094735]

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=468
This commit is contained in:
Michael Schröder 2018-06-11 09:48:07 +00:00 committed by Git OBS Bridge
parent 317af7f805
commit 083961a188
3 changed files with 12 additions and 0 deletions

View File

@ -243,6 +243,7 @@
%sles_version @sles_version@
%ul_version @ul_version@
%is_opensuse @is_opensuse@
%sle_version @sle_version@
%leap_version @leap_version@
%do_profiling 1

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 11 11:43:36 CEST 2018 - mls@suse.de
- Define sle_version in leap [bnc#1094735]
-------------------------------------------------------------------
Wed May 30 10:48:49 UTC 2018 - msuchanek@suse.com

View File

@ -252,6 +252,12 @@ sed -e 's/@suse_version@/%{?suse_version}%{!?suse_version:0}/' \
-e 's/@is_opensuse@/%{?is_opensuse}%{!?is_opensuse:0}/' \
-e '/@leap_version@%{?leap_version:nomatch}/d' \
-e 's/@leap_version@/%{?leap_version}%{!?leap_version:0}/' \
%if 0%{?is_opensuse}
-e '/@sle_version@%{?sle_version:nomatch}/d' \
-e 's/@sle_version@/%{?sle_version}%{!?sle_version:0}/' \
%else
-e '/@sle_version@/d' \
%endif
< %{SOURCE4} > suse_macros
rm -f m4/libtool.m4
rm -f m4/lt*.m4