rpms/ibus-table-erbi/devel ibus-table-erbi.spec,1.6,1.7
Caius Chance
cchance at fedoraproject.org
Mon May 18 00:23:47 UTC 2009
Author: cchance
Update of /cvs/pkgs/rpms/ibus-table-erbi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11315
Modified Files:
ibus-table-erbi.spec
Log Message:
fixed icon filename incorrection
Index: ibus-table-erbi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-erbi/devel/ibus-table-erbi.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- ibus-table-erbi.spec 23 Apr 2009 01:42:20 -0000 1.6
+++ ibus-table-erbi.spec 18 May 2009 00:23:15 -0000 1.7
@@ -2,7 +2,7 @@
Name: ibus-table-erbi
Version: 1.1.0.20090407
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Erbi input methods for ibus-table
License: GPLv2+
Group: System Environment/Libraries
@@ -41,21 +41,35 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install INSTALL="install -p"
+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/erbi_qs.txt %{buildroot}/%{_datadir}/ibus-table/tables/
+
+# removes table binary as it should be created post install
+%__rm %{buildroot}/%{_datadir}/ibus-table/tables/erbi_qs.db
%clean
rm -rf %{buildroot}
%post
-%{_bindir}/ibus-table-createdb -n erbi_qs.db -s erbi_qs.txt
+%{_bindir}/ibus-table-createdb -n %{_datadir}/ibus-table/tables/erbi_qs.db -s %{_datadir}/ibus-table/tables/erbi_qs.txt
+%__rm %{_datadir}/ibus-table/tables/erbi_qs.txt
+
+%postun
+%__rm %{_datadir}/ibus-table/tables/erbi_qs.db
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
-%{_datadir}/ibus-table/tables/erbi_qs.db
+%{_datadir}/ibus-table/tables/erbi_qs.txt
%{_datadir}/ibus-table/icons/erbi-qs.svg
%changelog
+* Mon May 18 2009 Caius Chance <cchance at redhat.com> - 1.1.0.20090407-7.fc12
+- Resolves: rhbz#500973 (Missing .txt during post.)
+
* Wed Apr 23 2009 Caius Chance <cchance at redhat.com> - 1.1.0.20090407-6.fc12
- rebuilt
More information about the fedora-extras-commits
mailing list