cp resources/dbus/net.nan.service %{buildroot}%{_datadir}/dbus-1/system-services/
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d/
cp resources/dbus/dbus-nan-manager.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/nan-manager.conf
-mkdir -p %{buildroot}%{_libdir}/systemd/system/
-cp resources/systemd/nan-manager.service %{buildroot}%{_libdir}/systemd/system/nan-manager.service
+mkdir -p %{buildroot}%{_unitdir}
+cp resources/systemd/nan-manager.service %{buildroot}%{_unitdir}
%files
%endif
%attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/nan-manager.conf
%attr(644,root,root) %{_datadir}/dbus-1/system-services/net.nan.service
-%attr(644,root,root) %{_libdir}/systemd/system/nan-manager.service
+%attr(644,root,root) %{_unitdir}/nan-manager.service