Do not own /lib/udev to not conflict with udev rpm

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=55
This commit is contained in:
Bernhard M. Wiedemann 2016-10-28 04:56:57 +00:00 committed by Git OBS Bridge
parent 02e7568f6d
commit 163817aa63
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 28 04:56:29 UTC 2016 - bwiedemann@suse.com
- Do not own /lib/udev to not conflict with udev rpm
-------------------------------------------------------------------
Thu Oct 27 19:40:31 UTC 2016 - rjschwei@suse.com

View File

@ -55,6 +55,8 @@ BuildRequires: python-devel
BuildRequires: python-setuptools
# pkg-config is needed to find correct systemd unit dir
BuildRequires: pkg-config
# needed for /lib/udev
BuildRequires: udev
%if 0%{?suse_version} > 1320
# Test requirements
BuildRequires: python-Cheetah
@ -293,13 +295,7 @@ popd
# 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
/lib/udev/rules.d/66-azure-ephemeral.rules
%endif
%dir %attr(0755, root, root) %{_localstatedir}/lib/cloud