summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-01 17:03:46 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-01 17:19:04 +0800
commit6642663ac3055dc3084f6a2de72e04692a31b782 (patch)
tree70956798b8a2d3b6921419fccffbf36e628ff699
parent66eb528bfb26747e622e3b78dba606bff2b529ca (diff)
downloadlibpinyin-6642663ac3055dc3084f6a2de72e04692a31b782.zip
libpinyin-6642663ac3055dc3084f6a2de72e04692a31b782.tar.gz
libpinyin-6642663ac3055dc3084f6a2de72e04692a31b782.tar.xz
fixes download url
-rw-r--r--data/Makefile.am4
-rw-r--r--libpinyin.spec.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6a5a949..a9fcb30 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -46,8 +46,8 @@ libpinyin_dbdir = $(libdir)/libpinyin/data
CLEANFILES = $(binary_model_data)
interpolation2.text:
- wget http://downloads.sourceforge.net/libpinyin/model3.text.tar.gz
- tar xvf model2.text.tar.gz -C $(top_srcdir)/data
+ wget http://downloads.sourceforge.net/libpinyin/models/model3.text.tar.gz
+ tar xvf model3.text.tar.gz -C $(top_srcdir)/data
$(tablefiles): interpolation2.text
diff --git a/libpinyin.spec.in b/libpinyin.spec.in
index d75c5fd..00be0d0 100644
--- a/libpinyin.spec.in
+++ b/libpinyin.spec.in
@@ -5,7 +5,7 @@ Summary: Library to deal with pinyin
License: GPLv2+
URL: https://github.com/libpinyin/libpinyin
-Source0: https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
BuildRequires: db4-devel, glib2-devel
Requires: %{name}-data%{?_isa} = %{version}-%{release}