Name: pkgmgr-info
Summary: Packager Manager infomation api for package
-Version: 0.0.95
+Version: 0.0.126
Release: 1
Group: Application Framework/Package Management
License: Apache-2.0
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(db-util)
-BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires:pkgconfig(libxml-2.0)
%description
Packager Manager infomation api for packaging
%install
%make_install
-%post -p /sbin/ldconfig
+%post
+
+mkdir -p /opt/usr/apps/tmp
+chown 5100:5100 /opt/usr/apps/tmp
+chmod 771 /opt/usr/apps/tmp
+chsmack -a '*' /opt/usr/apps/tmp
+chsmack -t /opt/usr/apps/tmp
+
+touch /opt/usr/apps/tmp/pkgmgr_tmp.txt
+
+chsmack -a 'pkgmgr::db' /opt/usr/apps/tmp/pkgmgr_tmp.txt
+chsmack -a '_' /usr/etc/package-manager
+
+%postun
-%postun -p /sbin/ldconfig
%files
%manifest pkgmgr-info.manifest
%{_prefix}/etc/package-manager/preload/manifest.xsd
%{_prefix}/etc/package-manager/preload/xml.xsd
%{_prefix}/etc/package-manager/parser_path.conf
+%{_prefix}/etc/package-manager/parserlib/metadata/mdparser_list.txt
+%{_prefix}/etc/package-manager/pkgmgr_smack_list.txt
%files parser-devel
%defattr(-,root,root,-)