rpms/ibus-table-yong/devel ibus-table-yong.spec,1.1,1.2
Caius Chance
cchance at fedoraproject.org
Tue May 19 04:43:50 UTC 2009
- Previous message: rpms/perl-XML-Feed/devel perl-XML-Feed.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/pyjigdo/devel .cvsignore, 1.4, 1.5 import.log, 1.1, 1.2 pyjigdo.spec, 1.5, 1.6 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cchance
Update of /cvs/pkgs/rpms/ibus-table-yong/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29150
Modified Files:
ibus-table-yong.spec
Log Message:
create index only during post-install
Index: ibus-table-yong.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-yong/devel/ibus-table-yong.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ibus-table-yong.spec 7 May 2009 02:20:23 -0000 1.1
+++ ibus-table-yong.spec 19 May 2009 04:43:19 -0000 1.2
@@ -2,7 +2,7 @@
Name: ibus-table-yong
Version: 1.1.0.20090422
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Yong input methods for ibus-table
License: GPLv3+
Group: System Environment/Libraries
@@ -14,7 +14,7 @@ BuildArch: noarch
BuildRequires: ibus-table >= 1.1.0.20090220-5
%if %{with bootstrap}
-BuildRequires: gettext-devel >= 0.17, automake >= 1.10.2
+BuildRequires: gettext-devel >= 0.17, automake >= 1.10.1
%endif
# uncomment if build with extra phrases.
# BuildRequires: ibus-table-extraphrase >= 1.1.0
@@ -41,32 +41,26 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-make DESTDIR=%{buildroot} NO_INDEX=true install INSTALL="install -p"
-
-# installs table source
-%__install -m 0755 -d %{buildroot}/%{_datadir}/ibus-table/tables/
-%__install -m 0644 tables/yong-ibus.txt %{buildroot}/%{_datadir}/ibus-table/tables/
-
-# removes table binary as it should be created post install
-%__rm %{buildroot}/%{_datadir}/ibus-table/tables/yong-ibus.db
+make DESTDIR=%{buildroot} NO_INDEX=true INSTALL="install -p" install
+%__mv %{buildroot}/%{_datadir}/ibus-table/tables/yong-ibus.db \
+ %{buildroot}/%{_datadir}/ibus-table/tables/yong_ibus.db
%clean
rm -rf %{buildroot}
%post
-%{_bindir}/ibus-table-createdb -n %{_datadir}/ibus-table/tables/yong_ibus.db -s %{_datadir}/ibus-table/tables/yong-ibus.txt
-%__rm %{_datadir}/ibus-table/tables/yong-ibus.txt
-
-%postun
-%__rm %{_datadir}/ibus-table/tables/yong_ibus.db
+%{_bindir}/ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/yong_ibus.db
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
-%{_datadir}/ibus-table/tables/yong-ibus.txt
+%{_datadir}/ibus-table/tables/yong_ibus.db
%{_datadir}/ibus-table/icons/yong.png
%changelog
+* Tue May 19 2009 Caius 'kaio' Chance <cchance AT redhat DOT com> - 1.1.0.20090422-5.fc12
+- Create index only during post-install.
+
* Wed May 06 2009 Caius 'kaio' Chance <cchance AT redhat DOT com> -
1.1.0.20090422-4.fc12
- Fixed filename issues of table file from hyphen to underscore.
- Previous message: rpms/perl-XML-Feed/devel perl-XML-Feed.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/pyjigdo/devel .cvsignore, 1.4, 1.5 import.log, 1.1, 1.2 pyjigdo.spec, 1.5, 1.6 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list