summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/neard.changes3
-rw-r--r--packaging/neard.spec4
2 files changed, 6 insertions, 1 deletions
diff --git a/packaging/neard.changes b/packaging/neard.changes
index 7fc6ba0..a737815 100644
--- a/packaging/neard.changes
+++ b/packaging/neard.changes
@@ -1,3 +1,6 @@
+* Sat Sep 14 CST 2013 Chengyi Zhao <chengyi1.zhao@archermind.com> - 0.12
+- Fix issue TIVI-1665: [3.0] The neard service is not enabled by default
+
* Mon Jul 8 17:02:59 CST 2013 Arron <arron.wang@intel.com> - 0.12
- rebase to version 0.12
diff --git a/packaging/neard.spec b/packaging/neard.spec
index b30f484..054e57b 100644
--- a/packaging/neard.spec
+++ b/packaging/neard.spec
@@ -64,8 +64,9 @@ make %{?jobs:-j%jobs}
install -d %{buildroot}%{_libdir}/systemd/system/
install -m 644 %{S:1} %{buildroot}%{_libdir}/systemd/system/neard.service
install -d %{buildroot}%{_libdir}/systemd/system/network.target.wants/
+install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/
ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/neard.service
-
+ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/neard.service
%post
systemctl daemon-reload
@@ -85,6 +86,7 @@ systemctl daemon-reload
%config %{_sysconfdir}/dbus-1/system.d/org.neard.conf
%{_libdir}/systemd/system/neard.service
%{_libdir}/systemd/system/network.target.wants/neard.service
+%{_libdir}/systemd/system/multi-user.target.wants/neard.service
%files devel
%manifest %{name}.manifest