Hello community, here is the log from the commit of package cloud-init for openSUSE:Factory checked in at 2018-01-25 12:40:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cloud-init (Old) and /work/SRC/openSUSE:Factory/.cloud-init.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cloud-init" Thu Jan 25 12:40:57 2018 rev:45 rq:569384 version:17.1 Changes: -------- --- /work/SRC/openSUSE:Factory/cloud-init/cloud-init.changes 2018-01-17 21:59:10.156800795 +0100 +++ /work/SRC/openSUSE:Factory/.cloud-init.new/cloud-init.changes 2018-01-25 12:41:03.489213778 +0100 @@ -1,0 +2,6 @@ +Thu Jan 18 09:57:10 UTC 2018 - [email protected] + +- patch distribution detection until a fix is delivered to python3 (bsc#997614) + add cloud-init-add-variant-cloudcfg.patch + +------------------------------------------------------------------- New: ---- cloud-init-add-variant-cloudcfg.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloud-init.spec ++++++ --- /var/tmp/diff_new_pack.5QApE9/_old 2018-01-25 12:41:05.053140764 +0100 +++ /var/tmp/diff_new_pack.5QApE9/_new 2018-01-25 12:41:05.057140578 +0100 @@ -53,6 +53,7 @@ Patch36: cloud-init-resize-ro-btrfs.patch # FIXME cloud-init-reproduce-build.patch, expecting upstream merge Patch37: cloud-init-reproduce-build.patch +Patch38: cloud-init-add-variant-cloudcfg.patch BuildRequires: fdupes BuildRequires: filesystem # pkg-config is needed to find correct systemd unit dir @@ -218,6 +219,9 @@ %patch35 -p1 %patch36 %patch37 +%if 0%{?suse_version} && 0%{?suse_version} >= 1500 +%patch38 +%endif %build %if 0%{?suse_version} && 0%{?suse_version} <= 1315 ++++++ cloud-init-add-variant-cloudcfg.patch ++++++ diff -up ./setup.py.cloudcfg ./setup.py --- ./setup.py.cloudcfg 2018-01-16 19:05:51.172016283 +0000 +++ ./setup.py 2018-01-16 19:06:24.380417971 +0000 @@ -114,7 +114,7 @@ def render_tmpl(template): atexit.register(shutil.rmtree, tmpd) bname = os.path.basename(template).rstrip(tmpl_ext) fpath = os.path.join(tmpd, bname) - tiny_p([sys.executable, './tools/render-cloudcfg', template, fpath]) + tiny_p([sys.executable, './tools/render-cloudcfg', '--variant=suse', template, fpath]) # return path relative to setup.py return os.path.join(os.path.basename(tmpd), bname)
