+++ /dev/null
-<manifest>
- <define>
- <domain name="net-config"/>
- <request>
- <smack request="dbus" type="rwx"/>
- <smack request="system::use_internet" type="rwx"/>
- </request>
- <permit>
- <smack permit="dbus" type="rwx"/>
- <smack permit="system::use_internet" type="rwx"/>
- </permit>
- </define>
- <assign>
- <filesystem path="/etc/rc.d/init.d/net-config" label="_" exec_label="none"/>
- <filesystem path="/etc/rc.d/rc3.d/S60net-config" label="_" exec_label="none"/>
- <filesystem path="/etc/rc.d/rc5.d/S60net-config" label="_" exec_label="none"/>
- <filesystem path="/etc/dbus-1/system.d/net-config.conf" label="_"/>
- <filesystem path="/opt/etc/resolv.conf" label="system::use_internet"/>
- <filesystem path="/usr/lib/systemd/system/net-config.service" label="_"/>
- <filesystem path="/usr/lib/systemd/system/network.target.wants/net-config.service" label="_"/>
- <filesystem path="/usr/share/dbus-1/services/net.netconfig.service" label="_"/>
- <filesystem path="/usr/share/license/net-config" label="_"/>
- </assign>
- <request>
- <domain name="net-config"/>
- </request>
-</manifest>
Group: System/Network
License: Apache License Version 2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: net-config.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(glib-2.0)
%prep
%setup -q
+cp %{SOURCE1001} .
%build
fi
%files
-%manifest net-config.manifest
+%manifest %{name}.manifest
%{_sbindir}/*
%attr(644,root,root) /opt/etc/resolv.conf
%{_datadir}/dbus-1/services/*