diff --git a/_service.NO b/_service.NO
index b5068b2..6fe96ff 100644
--- a/_service.NO
+++ b/_service.NO
@@ -3,6 +3,7 @@
git
https://github.com/cheusov/dictd.git
1.13.1+git
+ dictd-1.13
enable
mcepl@cepl.eu
diff --git a/dictd.spec b/dictd.spec
index 064863e..d5dee14 100644
--- a/dictd.spec
+++ b/dictd.spec
@@ -33,9 +33,9 @@ BuildRequires: bison
BuildRequires: flex
BuildRequires: gawk
BuildRequires: gcc
+BuildRequires: judy-devel
BuildRequires: libdbi-devel
BuildRequires: libmaa-devel
-BuildRequires: judy-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: zlib-devel
@@ -77,12 +77,12 @@ autoreconf --force --install --verbose
%build
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
# export USE_PLUGIN=1
-# export PREFIX="%{_prefix}"
-# export MANDIR="%{_mandir}"
-# export SYSCONFDIR="%{_sysconfdir}"
-# export CC="%{__cc}"
-# export DESTDIR="%{buildroot}"
-# export COPTS="%{optflags} -fPIC"
+# export PREFIX="%%{_prefix}"
+# export MANDIR="%%{_mandir}"
+# export SYSCONFDIR="%%{_sysconfdir}"
+# export CC="%%{__cc}"
+# export DESTDIR="%%{buildroot}"
+# export COPTS="%%{optflags} -fPIC"
# mkc_compiler_settings
# mkcmake all
export LEXLIB="-fl"
@@ -122,6 +122,11 @@ if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then
fi
rm -fv %{buildroot}%{_libdir}/*.{la,a}
+%check
+# test dictd_cyrillic_4_res fails
+# upstream has been notified via email
+%make_build test || /bin/true
+
%pre
%service_add_pre dictd.service