Blame SOURCES/aspell-0.60.5-fileconflict.patch

b29c49
diff -up aspell-0.60.6.1/configure.fc aspell-0.60.6.1/configure
b29c49
--- aspell-0.60.6.1/configure.fc	2011-07-04 10:58:50.000000000 +0200
b29c49
+++ aspell-0.60.6.1/configure	2011-08-16 11:28:58.626771599 +0200
b29c49
@@ -839,6 +839,7 @@ MAINTAINER_MODE_FALSE
b29c49
 MAINT
b29c49
 pkgdocdir
b29c49
 pkgdatadir
b29c49
+pkgdatadir2
b29c49
 pkglibdir
b29c49
 CXX
b29c49
 CXXFLAGS
b29c49
@@ -2634,18 +2635,21 @@ pkgdatadir=undef
b29c49
 # Check whether --enable-pkgdatadir was given.
b29c49
 if test "${enable_pkgdatadir+set}" = set; then
b29c49
   enableval=$enable_pkgdatadir; pkgdatadir=$enable_pkgdatadir
b29c49
+  pkgdatadir2=$enable_pkgdatadir
b29c49
 fi
b29c49
 
b29c49
 
b29c49
 # Check whether --enable-pkgdata-dir was given.
b29c49
 if test "${enable_pkgdata_dir+set}" = set; then
b29c49
   enableval=$enable_pkgdata_dir; pkgdatadir=$enable_dict_dir
b29c49
+  pkgdatadir2=$enable_dict_dir
b29c49
 fi
b29c49
 
b29c49
 
b29c49
 if test "$pkgdatadir" = "undef"
b29c49
 then
b29c49
   pkgdatadir=\${libdir}/aspell-0.60
b29c49
+  pkgdatadir2=${exec_prefix}/lib/aspell-0.60:${exec_prefix}/lib64/aspell-0.60
b29c49
 fi
b29c49
 
b29c49
 
b29c49
@@ -20119,6 +20123,7 @@ MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_F
b29c49
 MAINT!$MAINT$ac_delim
b29c49
 pkgdocdir!$pkgdocdir$ac_delim
b29c49
 pkgdatadir!$pkgdatadir$ac_delim
b29c49
+pkgdatadir2!$pkgdatadir2$ac_delim
b29c49
 pkglibdir!$pkglibdir$ac_delim
b29c49
 CXX!$CXX$ac_delim
b29c49
 CXXFLAGS!$CXXFLAGS$ac_delim
b29c49
@@ -20142,7 +20147,7 @@ ac_ct_CC!$ac_ct_CC$ac_delim
b29c49
 CCDEPMODE!$CCDEPMODE$ac_delim
b29c49
 _ACEOF
b29c49
 
b29c49
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
b29c49
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 98; then
b29c49
     break
b29c49
   elif $ac_last_try; then
b29c49
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
b29c49
diff -up aspell-0.60.6.1/Makefile.in.fc aspell-0.60.6.1/Makefile.in
b29c49
--- aspell-0.60.6.1/Makefile.in.fc	2011-07-04 10:58:49.000000000 +0200
b29c49
+++ aspell-0.60.6.1/Makefile.in	2011-08-16 11:20:09.030887258 +0200
b29c49
@@ -344,6 +344,7 @@ distcleancheck_listfiles = find . -type 
b29c49
 
b29c49
 # These are needed due to a bug in Automake
b29c49
 pkgdatadir = @pkgdatadir@
b29c49
+pkgdatadir2 = @pkgdatadir2@
b29c49
 pkglibdir = @pkglibdir@
b29c49
 ACLOCAL = @ACLOCAL@
b29c49
 AMTAR = @AMTAR@
b29c49
@@ -1932,7 +1933,7 @@ gen/dirs.h: gen/mk-dirs_h.pl
b29c49
 	cd gen; perl mk-dirs_h.pl ${prefix} ${pkgdatadir} ${pkglibdir}  ${sysconfdir} >  dirs.h
b29c49
 
b29c49
 scripts/run-with-aspell: scripts/run-with-aspell.create
b29c49
-	sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir} > scripts/run-with-aspell
b29c49
+	sh ${srcdir}/scripts/run-with-aspell.create ${pkgdatadir2} > scripts/run-with-aspell
b29c49
 	chmod 755 scripts/run-with-aspell
b29c49
 @PSPELL_COMPATIBILITY_TRUE@scripts/pspell-config: scripts/mkconfig
b29c49
 @PSPELL_COMPATIBILITY_TRUE@	sh ${srcdir}/scripts/mkconfig ${VERSION} ${datadir} ${pkgdatadir}