###############################################################################
name = pcre
-version = 8.30
+version = 8.35
release = 1
compat_version = 8.21
configure_options += \
--disable-static \
--docdir=/usr/share/doc/pcre-%{version} \
- --enable-utf8 \
--enable-jit \
- --enable-pcregrep-libz \
- --enable-pcregrep-libbz2 \
- --enable-unicode-properties
+ --enable-pcre8 \
+ --enable-pcre16 \
+ --enable-pcre32 \
+ --enable-utf \
+ --enable-unicode-properties \
+ --enable-pcretest-libreadline
build_cmds
cd %{DIR_SRC}/%{name}-%{compat_version}
make %{PARALLELISMFLAGS}
end
+ test
+ make check
+
+ cd %{DIR_SRC}/%{name}-%{compat_version}
+ make check
+ end
+
install_cmds
cd %{DIR_SRC}/%{name}-%{compat_version}
- install -m 644 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
- ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libprce.so.0
+ install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
+ ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
end
end