From 3c9a48bda068fd46b3a128449322597163a81bd8c22f8adc233c1fab3d6ff9ed Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 28 Jul 2014 15:55:33 +0000 Subject: [PATCH] - declare rsyslog.d only for distros where it is created fixes build error on SLE 11 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=22 --- cloud-init.changes | 6 ++++++ cloud-init.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cloud-init.changes b/cloud-init.changes index 343ead9..5d4f748 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 28 15:54:32 UTC 2014 - rschweikert@suse.com + +- declare rsyslog.d only for distros where it is created + fixes build error on SLE 11 + ------------------------------------------------------------------- Mon Jul 28 15:14:02 UTC 2014 - rschweikert@suse.com diff --git a/cloud-init.spec b/cloud-init.spec index ac8f48e..915a822 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -227,11 +227,12 @@ popd %{systemd_prefix}/systemd/system/cloud-final.service %endif %if 0%{?suse_version} && 0%{?suse_version} > 1110 +%dir %{_sysconfdir}/rsyslog.d %{_sysconfdir}/rsyslog.d/21-cloudinit.conf %endif %dir %attr(0755, root, root) %{_localstatedir}/lib/cloud %dir %{docdir} -%dir %{_sysconfdir}/rsyslog.d + %files doc %defattr(-,root,root)