[ibus-table] remove the redundant post and postun scripts (#625330)

Jens Petersen petersen at fedoraproject.org
Wed Sep 1 07:35:19 UTC 2010


commit a362d1d300b0c1878ee77c04d7586fa47e261a89
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Sep 1 17:35:19 2010 +1000

    remove the redundant post and postun scripts (#625330)

 ibus-table.spec |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/ibus-table.spec b/ibus-table.spec
index a682cbb..01a6f83 100644
--- a/ibus-table.spec
+++ b/ibus-table.spec
@@ -1,6 +1,6 @@
 Name:       ibus-table
 Version:    1.3.0.20100621
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -24,15 +24,13 @@ Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}, pkgconfig
 
 %description -n %{name}-devel
-Headers and other files needed to develop applications using the %{name} library.
+Development files for %{name}.
 
 %prep
 %setup -q
 
 %build
-%configure --disable-static \
-  --prefix=%{_prefix} \
-  --disable-additional
+%configure --disable-static --disable-additional
 %__make %{?_smp_mflags}
 
 %install
@@ -44,13 +42,6 @@ Headers and other files needed to develop applications using the %{name} library
 %clean
 %__rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-### temp keep additional tables until ibus-table-{code,latin} are ready in repo
-#ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/compose.db
-#ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
-###
-
-%postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
@@ -107,6 +98,9 @@ Headers and other files needed to develop applications using the %{name} library
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog
+* Wed Sep  1 2010 Jens Petersen <petersen at redhat.com> - 1.3.0.20100621-3
+- remove the redundant post and postun scripts (#625330)
+
 * Wed Aug 11 2010 David Malcolm <dmalcolm at redhat.com> - 1.3.0.20100621-2
 - recompiling .py files against Python 2.7 (rhbz#623320)
 


More information about the scm-commits mailing list