diff --git a/.gitignore b/.gitignore index e5bcb0b..9ab4300 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ /libpinyin-1.2.0.tar.gz /libpinyin-1.2.91.tar.gz /libpinyin-1.3.0.tar.gz +/libpinyin-1.5.91.tar.gz diff --git a/libpinyin-1.3.x-head.patch b/libpinyin-1.6.x-head.patch similarity index 100% rename from libpinyin-1.3.x-head.patch rename to libpinyin-1.6.x-head.patch diff --git a/libpinyin.spec b/libpinyin.spec index e14df5c..cf4ec54 100644 --- a/libpinyin.spec +++ b/libpinyin.spec @@ -1,18 +1,18 @@ %global snapshot 0 Name: libpinyin -Version: 1.3.0 -Release: 2%{?dist} +Version: 1.5.91 +Release: 1%{?dist} Summary: Library to deal with pinyin License: GPLv2+ URL: https://github.com/libpinyin/libpinyin Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz %if %snapshot -Patch0: libpinyin-1.3.x-head.patch +Patch0: libpinyin-1.6.x-head.patch %endif -BuildRequires: libdb-devel, glib2-devel +BuildRequires: kyotocabinet-devel, glib2-devel Requires: %{name}-data%{?_isa} = %{version}-%{release} %description @@ -52,7 +52,7 @@ The %{name}-tools package contains tools. %endif %build -%configure --disable-static +%configure --disable-static --with-dbm=KyotoCabinet make %{?_smp_mflags} %check @@ -92,6 +92,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog +* Mon Jul 18 2016 Peng Wu - 1.5.91-1 +- Update to 1.5.91 +- Use Kyoto Cabinet instead of Berkeley DB + * Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 08b7c3c..6ee236d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3fd0035ea2feed2f944eda31ad266f45 libpinyin-1.3.0.tar.gz +f696445dd6c56fb344eedf03a8361016 libpinyin-1.5.91.tar.gz