diff --git a/cloud-init.changes b/cloud-init.changes index 6d510a6..2c1146d 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 5 18:58:22 UTC 2019 - Robert Schweikert + +- Follow the ever changing inconsistencies of version definitions and + detection in the build service. + + No more suse_version in SUSE internal instance for SLES 15 SP1 + ------------------------------------------------------------------- Tue Jun 11 12:37:16 UTC 2019 - Dominique Leuenberger diff --git a/cloud-init.spec b/cloud-init.spec index aeb9233..61505c2 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -75,11 +75,15 @@ BuildRequires: python-requests BuildRequires: python-setuptools BuildRequires: python-six %endif +%if 0%{?sle_version} +BuildRequires: sles-release +%else %if 0%{?is_opensuse} || 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 BuildRequires: openSUSE-release %else BuildRequires: sles-release %endif +%endif BuildRequires: util-linux Requires: bash Requires: dhcp-client