Fix rmplint issues 76/4276/1
authorVictor Hakoun <victor.hakoun@eurogiciel.fr>
Wed, 26 Jun 2013 08:24:27 +0000 (10:24 +0200)
committerVictor Hakoun <victor.hakoun@eurogiciel.fr>
Wed, 26 Jun 2013 09:44:01 +0000 (11:44 +0200)
- Set the Group Connectivity/Bluetooth
- Add %post and %postun section for libbluetooth-share and libbluetooth-share-devel to run ldconfig

Change-Id: I0c8f43936d7eddeff2311886e7e8a0e926af15ba

packaging/bluetooth-share.spec

index 7eb49e6..d4a3a3d 100644 (file)
@@ -4,7 +4,7 @@ Name:       bluetooth-share
 Summary:    Bluetooth file share Agent
 Version:    0.0.47
 Release:    2
-Group:      TO_BE/FILLED_IN
+Group:      Connectivity/Bluetooth
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 Requires(post): vconf
@@ -119,6 +119,14 @@ chsmack -a 'bt_share::db' /opt/usr/dbspace/.bluetooth_trasnfer.db
 chsmack -a 'bt_share::db' /opt/usr/dbspace/.bluetooth_trasnfer.db-journal
 fi
 
+%post -n libbluetooth-share-devel -p /sbin/ldconfig
+
+%post -n libbluetooth-share -p /sbin/ldconfig
+
+%postun -n libbluetooth-share-devel -p /sbin/ldconfig
+
+%postun -n libbluetooth-share -p /sbin/ldconfig
+
 %files
 %manifest bluetooth-share.manifest
 /opt/etc/smack/accesses.d/bluetooth-share.rule