[seamonkey] Fixed nspr and nss version
Jan Horak
xhorak at fedoraproject.org
Tue Oct 16 09:00:18 UTC 2012
commit 66528b717ef7796d8d1b6d5f6fdb0d7234f7bd5f
Author: Jan Horak <jhorak at redhat.com>
Date: Tue Oct 16 11:00:14 2012 +0200
Fixed nspr and nss version
seamonkey.spec | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/seamonkey.spec b/seamonkey.spec
index 900beb7..7961325 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -6,8 +6,10 @@
%define cairo_version 0.5
%if %{?system_nss}
-%define minimum_build_nspr_version 4.9
-%define minimum_build_nss_version 3.13.3
+%global minimum_build_nspr_version 4.9.2
+%global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536)
+%global minimum_build_nss_version 3.13.5
+%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536)
%endif
%define build_langpacks 1
@@ -80,8 +82,8 @@ Requires: mozilla-filesystem
Requires: hicolor-icon-theme
Requires: libvpx
%if %{?system_nss}
-Requires: nspr >= %{minimum_build_nspr_version}
-Requires: nss >= %{minimum_build_nss_version}
+Requires: nspr >= %{nspr_build_version}
+Requires: nss >= %{nss_build_version}
%endif
Obsoletes: seamonkey-chat
More information about the scm-commits
mailing list