Accepting request 206827 from home:rudi_m:branches:Base:System
- enable tests for all archs - --enable-jit for sparc OBS-URL: https://build.opensuse.org/request/show/206827 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=52
This commit is contained in:
parent
0d75ee1c5c
commit
4350f65d30
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 13 19:06:09 UTC 2013 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
- enable tests for all archs
|
||||||
|
- --enable-jit for sparc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 13 16:20:10 UTC 2013 - jengelh@inai.de
|
Thu Jun 13 16:20:10 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
15
pcre.spec
15
pcre.spec
@ -154,7 +154,7 @@ as Perl 5.
|
|||||||
# Available JIT archs see sljit/sljitConfig.h
|
# Available JIT archs see sljit/sljitConfig.h
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch %ix86 x86_64 %arm ppc ppc64 mips
|
%ifarch %ix86 x86_64 %arm ppc ppc64 mips sparc
|
||||||
--enable-jit \
|
--enable-jit \
|
||||||
%endif
|
%endif
|
||||||
--enable-static \
|
--enable-static \
|
||||||
@ -173,22 +173,9 @@ mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc
|
|||||||
#empty dependecy_libs
|
#empty dependecy_libs
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
#ove pcre and pcreposix library into /lib
|
|
||||||
#%{__mkdir_p} %{buildroot}/%{_lib}
|
|
||||||
#for l in libpcre libpcreposix; do
|
|
||||||
# ldest=$(readlink %{buildroot}/%{_libdir}/$l.so)
|
|
||||||
# mv %{buildroot}%{_libdir}/$l.so.* %{buildroot}/%{_lib}
|
|
||||||
# #update the symlinks for linking.
|
|
||||||
# %{__ln_s} -vf /%{_lib}/$ldest %{buildroot}%{_libdir}/$l.so
|
|
||||||
#done
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=POSIX
|
export LANG=POSIX
|
||||||
%ifarch %arm
|
|
||||||
make test || echo make test failed
|
|
||||||
%else
|
|
||||||
make test
|
make test
|
||||||
%endif
|
|
||||||
|
|
||||||
%post -n libpcre1 -p /sbin/ldconfig
|
%post -n libpcre1 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user