From 34bb0bdc6956683f168520ad050db379eab1f6ab Mon Sep 17 00:00:00 2001 From: Alexandru Cornea Date: Wed, 3 Jul 2013 11:58:16 +0300 Subject: [PATCH] commenting chsmack --- packaging/libslp-alarm.spec | 45 ++------------------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/packaging/libslp-alarm.spec b/packaging/libslp-alarm.spec index 49c7ff0..1e0ba04 100644 --- a/packaging/libslp-alarm.spec +++ b/packaging/libslp-alarm.spec @@ -1,6 +1,3 @@ -#sbs-git:slp/apps/l/libslp-alarm libslp-alarm 0.2.7 743c13367284f1394db6db3a2d5a936be5279784 -# >> macros -# << macros Name: libslp-alarm Summary: libslp-alarm package @@ -38,29 +35,18 @@ Requires: %{name} = %{version}-%{release} %setup -q -n %{name}-%{version} cp %{SOURCE1001} . -# >> setup -# << setup %build -# >> build pre -# << build pre cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -# Call make instruction with smp support make %{?jobs:-j%jobs} -# >> build post -# << build post %install rm -rf %{buildroot} -# >> install pre -# << install pre %make_install -# >> install post rm -f %{buildroot}/usr/bin/test_alarmdb -# << install post %clean rm -rf %{buildroot} @@ -96,35 +82,12 @@ sqlite3 /opt/dbspace/.alarm.db 'PRAGMA journal_mode = PERSIST; volume INTEGER, auto_power_on INTEGER );' -chsmack -a 'libslp-alarm::db' /opt/dbspace/.alarm.db* - -# Change file owner -#1.libraries -#2.executables -#3.configurations -#4.images -#5.edje -#6.internatialize -#7.etc -#chown :5000 /opt/dbspace + chown :6001 /opt/dbspace/.alarm.db chown :6001 /opt/dbspace/.alarm.db-journal -#chown root:root /opt/dbspace/.alarm.db -#chown root:root /opt/dbspace/.alarm.db-journal - -# Change file permissions -#1.libraries -#2.executables -#3.configurations -#4.images -#5.edje -#6.internatialize -#7.etc -#chmod 775 /opt/dbspace + chmod 660 /opt/dbspace/.alarm.db chmod 660 /opt/dbspace/.alarm.db-journal -#chmod 600 /opt/dbspace/.alarm.db -#chmod 600 /opt/dbspace/.alarm.db-journal %postun -p /sbin/ldconfig @@ -134,16 +97,12 @@ chmod 660 /opt/dbspace/.alarm.db-journal %files %manifest %{name}.manifest %defattr(-,root,root,-) -# >> files %{_libdir}/*.so* -# << files %files devel %manifest %{name}.manifest %defattr(-,root,root,-) -# >> files devel %{_includedir}/* %{_libdir}/pkgconfig/* -# << files devel -- 2.7.4