[m17n-lib/f14/master] Fix compilation issue and rpmlint ldconfig error.

pnemade pnemade at fedoraproject.org
Mon Sep 13 06:19:24 UTC 2010


commit 211ed5e1aafcbad9b5d515b59a10759d737af1a6
Author: Parag Nemade <pnemade at redhat.com>
Date:   Mon Sep 13 11:52:06 2010 +0530

    Fix compilation issue and rpmlint ldconfig error.

 m17n-lib.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/m17n-lib.spec b/m17n-lib.spec
index 516444d..382351b 100644
--- a/m17n-lib.spec
+++ b/m17n-lib.spec
@@ -53,6 +53,7 @@ Group:    Development/Libraries
 Requires:  %{name} = %{version}-%{release}
 Requires:  %{name}-flt = %{version}-%{release}
 Requires:  %{name}-anthy = %{version}-%{release}
+Requires:  %{name}-tools = %{version}-%{release}
 
 %description devel
 Development files for %{name}.
@@ -60,7 +61,7 @@ Development files for %{name}.
 
 %if %{with tools}
 %package  tools
-Summary:  m17n GUI Library
+Summary:  m17n GUI Library tools
 Group:    System Environment/Libraries
 Requires: m17n-db-datafiles
 
@@ -92,7 +93,7 @@ export LIBS
 %configure --disable-rpath --disable-static %{!?with_tools:--without-tools}
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make  %{?_smp_mflags}
+make
 
 
 %install
@@ -105,6 +106,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %postun -p /sbin/ldconfig
 
 
+%post tools -p /sbin/ldconfig
+
+%postun tools -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS


More information about the scm-commits mailing list