# BuildRequires systemd-units on fedora and rhel
%if 0%{?fedora} >= 14 || 0%{?rhel} >= 7
BuildRequires: systemd-units
+%endif
#
# BuildRequires systemd on openSUSE and SUSE
-%endif
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%endif
%endif
%endif
+#
+# Additional package for Tizen
+#
+%if %{defined tizen_version}
+BuildRequires: pkgconfig(dlog)
+%endif
+
%description
Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
%post
# This test should trigger a network configure on a new install.
+if [ ! -d @LXC_DISTRO_SYSCONF@ ]
+then
+ mkdir -p @LXC_DISTRO_SYSCONF@
+fi
+
if [ ! -f @LXC_DISTRO_SYSCONF@/lxc-net ] || ! grep -q 'USE_LXC_BRIDGE=' @LXC_DISTRO_SYSCONF@/lxc-net
then
# Grab a random 10net subnet. Need to add test logic...
%defattr(-,root,root)
%{_sbindir}/*
%{_libdir}/*.so.*
+%{_libdir}/*.a
%{_libdir}/%{name}
%{_localstatedir}/*
%{_libexecdir}/%{name}/hooks/unmount-namespace