fix labeling issue of new added dir(/var/lib/package-manager) 94/75094/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Thu, 16 Jun 2016 12:30:59 +0000 (21:30 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Thu, 16 Jun 2016 12:30:59 +0000 (21:30 +0900)
Change-Id: Ib497e933fa332a675737f980c7f58bb78366e1d3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
packaging/pkgmgr-server.manifest
packaging/pkgmgr-server.spec

index fee7117..1ed1766 100644 (file)
@@ -4,7 +4,7 @@
        </request>
        <assign>
                <filesystem path="/usr/bin/pkgmgr-server" label="System" exec_label="none" />
-               <filesystem path="/var/lib/package-manager/" label="System" />
+               <filesystem path="/var/lib/package-manager" label="System" />
                <filesystem path="/var/lib/package-manager/restriction.db" label="System" />
        </assign>
 </manifest>
index 161059c..e2448fa 100644 (file)
@@ -70,6 +70,7 @@ install -m 0600 restriction.db %{buildroot}%{db_dir}
 %{_unitdir}/package-manager.service
 %{_datadir}/dbus-1/system-services/org.tizen.pkgmgr.service
 %config %{_sysconfdir}/dbus-1/system.d/org.tizen.pkgmgr.conf
+%config(noreplace) %{db_dir}
 %config(noreplace) %{db_dir}/restriction.db
 %{_bindir}/pkgmgr-server
 %{_sysconfdir}/package-manager/server