summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-09-08 17:45:54 +0200
committerRemi Collet <fedora@famillecollet.com>2010-09-08 17:45:54 +0200
commita736fcbcaac87578a7bffc6a5186dc69d22fd1cc (patch)
tree93008f9a0e687e2c0ef37e9e5f476c10560d463b
parent514830cf206c726edbc954daf244b683b4f8a544 (diff)
sunbird raise BR version
-rw-r--r--sunbird.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/sunbird.spec b/sunbird.spec
index d87844b..8fd2017 100644
--- a/sunbird.spec
+++ b/sunbird.spec
@@ -1,5 +1,5 @@
-%define nspr_version 4.8
-%define nss_version 3.12.3.99
+%define nspr_version 4.8.6
+%define nss_version 3.12.6
%define cairo_version 1.8.8
%define dbus_glib_version 0.6
%define sqlite_version 3.6.22
@@ -76,9 +76,12 @@ BuildRequires: libical-devel
BuildRequires: zip
BuildRequires: autoconf213
BuildRequires: alsa-lib-devel
+%if 0%{?fedora} >= 15
+## NSPR 4.8.6 is on updates-testing
+Requires: nspr >= %{nspr_version}
+%endif
%if 0%{fedora} >= 11
BuildRequires: cairo-devel >= %{cairo_version}
-Requires: nspr >= %{nspr_version}
Requires: nss >= %{nss_version}
%endif
%if 0%{?fedora} >= 13
@@ -161,8 +164,10 @@ ac_add_options --libdir="%{_libdir}"
ac_add_options --prefix="%{_prefix}"
ac_add_options --with-pthreads
ac_add_options --with-system-jpeg
-%if %{fedora} >= 11
+%if %{fedora} >= 15
ac_add_options --with-system-nspr
+%endif
+%if %{fedora} >= 11
ac_add_options --with-system-nss
%endif
ac_add_options --with-system-zlib