Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move data files to libdir

  • Loading branch information...
commit 8c8eabf8451c91635edf4cf48b20bc59210037ef 1 parent d30adf0
@epico authored
Showing with 3 additions and 4 deletions.
  1. +1 −1  data/Makefile.am
  2. +1 −2  libpinyin.pc.in
  3. +1 −1  libpinyin.spec.in
View
2  data/Makefile.am
@@ -30,7 +30,7 @@ EXTRA_DIST = $(textual_model_data)
libpinyin_db_DATA = $(binary_model_data)
-libpinyin_dbdir = $(pkgdatadir)/data
+libpinyin_dbdir = $(libdir)/libpinyin/data
CLEANFILES = $(binary_model_data)
View
3  libpinyin.pc.in
@@ -2,8 +2,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-datadir=@datadir@
-pkgdatadir=@datadir@/libpinyin
+pkgdatadir=@libdir@/libpinyin
libpinyinincludedir=${includedir}/libpinyin-@VERSION@
libpinyin_binary_version=@LIBPINYIN_BINARY_VERSION@
View
2  libpinyin.spec.in
@@ -8,7 +8,7 @@ URL: https://github.com/libpinyin/libpinyin
Source0: https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz
BuildRequires: db4-devel, glib2-devel
-Requires: %{name}-data = %{version}-%{release}
+Requires: %{name}-data%{?_isa} = %{version}-%{release}
%description
The libpinyin project aims to provide the algorithms core
Please sign in to comment.
Something went wrong with that request. Please try again.