[uim] Fix FTBFS (#1107024)

Akira TAGOH tagoh at fedoraproject.org
Wed Jun 11 11:38:23 UTC 2014


commit 8734f339921c39de87c8fd1100e6720b613403fa
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Wed Jun 11 20:38:14 2014 +0900

    Fix FTBFS (#1107024)

 uim-fix-m17n-icon-path.patch |   12 ++++++++++++
 uim.spec                     |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/uim-fix-m17n-icon-path.patch b/uim-fix-m17n-icon-path.patch
new file mode 100644
index 0000000..4b1371d
--- /dev/null
+++ b/uim-fix-m17n-icon-path.patch
@@ -0,0 +1,12 @@
+diff -pruN uim-1.8.6.orig/pixmaps/uim-m17nlib-relink-icons.in uim-1.8.6/pixmaps/uim-m17nlib-relink-icons.in
+--- uim-1.8.6.orig/pixmaps/uim-m17nlib-relink-icons.in	2013-06-30 13:26:09.000000000 +0900
++++ uim-1.8.6/pixmaps/uim-m17nlib-relink-icons.in	2014-06-11 20:33:59.000000000 +0900
+@@ -31,7 +31,7 @@
+ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+-for f in @m17n_db_dir@/icons/*.png; do
++for f in @m17n_db_dir@/*.png; do
+     if test -f "$f"; then
+         @LN_S@ -f "$f" ${DESTDIR}@uim_pixmapsdir@/m17n-`basename "$f"`
+     fi
diff --git a/uim.spec b/uim.spec
index e6c17d3..974705f 100644
--- a/uim.spec
+++ b/uim.spec
@@ -3,7 +3,7 @@
 
 Name:		uim
 Version:	1.8.6
-Release:	4%{?dist}
+Release:	5%{?dist}
 # uim itself is licensed under BSD
 # scm/py.scm, helper/eggtrayicon.[ch], qt/pref-kseparator.{cpp,h}
 #   and qt/chardict/chardict-kseparator.{cpp,h} is licensed under LGPLv2+
@@ -26,6 +26,7 @@ Source1:	xinput.d-uim
 Source2:	uim-init.el
 Patch1:		uim-emacs-utf8.patch
 Patch2:		uim-enable-libgcroots.patch
+Patch3:		uim-fix-m17n-icon-path.patch
 
 
 Summary:	A multilingual input method library
@@ -220,6 +221,7 @@ many languages using the input table map from m17n-db.
 %setup -q
 %patch1 -p1 -b .1-emacs
 %patch2 -p1 -b .2-libgcroots
+%patch3 -p1 -b .3-m17n-icon-path
 autoconf
 
 
@@ -546,6 +548,9 @@ fi
 %dir %{_datadir}/uim
 
 %changelog
+* Wed Jun 11 2014 Akira TAGOH <tagoh at redhat.com> - 1.8.6-5
+* Fix FTBFS (#1107024)
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list