Fixed nspr and nss version

This commit is contained in:
Jan Horak 2012-10-16 11:58:47 +02:00
parent 22d16b838b
commit 5bfd563d38

View File

@ -13,8 +13,10 @@
%define build_langpacks 1 %define build_langpacks 1
%if %{?system_nss} %if %{?system_nss}
%global nspr_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536) %global nspr_version 4.9.2
%global nss_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536) %global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536)
%global nss_version 3.13.5
%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536)
%endif %endif
%define cairo_version 1.8.8 %define cairo_version 1.8.8
@ -125,8 +127,8 @@ BuildRequires: mesa-libGL-devel
BuildRequires: libvpx-devel >= %{libvpx_version} BuildRequires: libvpx-devel >= %{libvpx_version}
Requires: mozilla-filesystem Requires: mozilla-filesystem
%if %{?system_nss} %if %{?system_nss}
Requires: nspr >= %{nspr_version} Requires: nspr >= %{nspr_build_version}
Requires: nss >= %{nss_version} Requires: nss >= %{nss_build_version}
%endif %endif
%if %{?system_sqlite} %if %{?system_sqlite}
Requires: sqlite >= %{sqlite_build_version} Requires: sqlite >= %{sqlite_build_version}