diff --git a/cloud-init.changes b/cloud-init.changes index 12b9e23..0400a38 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 26 14:27:55 UTC 2016 - rjschwei@suse.com + +- Appease the build service, differences between OBS and IBS, + and own the directories + ------------------------------------------------------------------- Wed Oct 26 11:31:34 UTC 2016 - rjschwei@suse.com diff --git a/cloud-init.spec b/cloud-init.spec index d5f768c..e402206 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -290,6 +290,13 @@ popd %dir %{_sysconfdir}/rsyslog.d %{_sysconfdir}/rsyslog.d/21-cloudinit.conf /usr/lib/udev/rules.d/66-azure-ephemeral.rules +# This if condition really distinquished between OBS and IBS. +# For SLE 12 builds in OBS owning the directories is not required, while +# SLE 12 builds in IBS require owning the directories +%if 0%{?suse_version} && 0%{?suse_version} <= 1325 +%dir /usr/lib/udev +%dir /usr/lib/udev/rules.d +%endif %else %dir /lib/udev %dir /lib/udev/rules.d