From: Baptiste DURAND Date: Thu, 24 Oct 2013 11:12:50 +0000 (+0200) Subject: Fix TIVI-2012 : Unsplit ail package X-Git-Tag: accepted/tizen/20131024.175845~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92b897fe97695f1810195836f69d1ae81a2ad8f2;p=platform%2Fcore%2Fappfw%2Fail.git Fix TIVI-2012 : Unsplit ail package ail library should be installed with it tools ail_initdb To not break image build : ail package provides libail package. Change-Id: I5424f9764be0bd75b8c3fea6e0d9d8b458b7992c Signed-off-by: Baptiste DURAND --- diff --git a/packaging/ail.spec b/packaging/ail.spec index 659cc6c..6a585e6 100755 --- a/packaging/ail.spec +++ b/packaging/ail.spec @@ -13,17 +13,11 @@ BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(xdgmime) -Requires: libail = %{version}-%{release} +Provides: libail = %{version}-%{release} %description Application Information Library -%package -n libail -Summary: Application Information Library - -%description -n libail -Application Information Library - %package devel Summary: Application Information Library Development files Requires: libail = %{version}-%{release} @@ -48,6 +42,7 @@ mkdir -p %{buildroot}/opt/dbspace/ mkdir -p %{buildroot}/opt/share/applications/ %post +/sbin/ldconfig vconftool set -t string db/ail/ail_info "0" -f -s system::vconf_inhouse vconftool set -t string db/menuscreen/desktop "0" -f -s system::vconf_inhouse vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s system::vconf_inhouse @@ -74,28 +69,22 @@ update_DAC_for_db_file /opt/dbspace/.app_info.db update_DAC_for_db_file /opt/dbspace/.app_info.db-journal %postun +/sbin/ldconfig if [ $1 == 0 ]; then rm -f /opt/dbspace/.app_info.db* fi -%postun -n libail -p /sbin/ldconfig - -%post -n libail -p /sbin/ldconfig - %files %manifest %{name}.manifest %license LICENSE %dir /opt/share/applications %{_bindir}/ail_initdb %{_datadir}/install-info/* - -%files -n libail -%license LICENSE -%manifest %{name}.manifest %{_libdir}/libail.so.0 %{_libdir}/libail.so.0.1.0 + %files devel %manifest %{name}.manifest %{_includedir}/ail.h