[xulrunner/f15] Removed system sqlite for f15
Jan Horak
xhorak at fedoraproject.org
Tue Dec 20 11:25:33 UTC 2011
commit 01d88c4028be8daaad24f7fb008ed91ba62df446
Author: Jan Horak <jhorak at redhat.com>
Date: Tue Dec 20 12:25:31 2011 +0100
Removed system sqlite for f15
xulrunner.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/xulrunner.spec b/xulrunner.spec
index 824b50c..37e6621 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -252,12 +252,14 @@ echo "ac_add_options --disable-system-sqlite" >> .mozconfig
%build
# Do not proceed with build if the sqlite require would be broken:
# make sure the minimum requirement is non-empty, ...
+%if %{?system_sqlite}
sqlite_version=$(expr "%{sqlite_version}" : '\([0-9]*\.\)[0-9]*\.') || exit 1
# ... and that major number of the computed build-time version matches:
case "%{sqlite_build_version}" in
"$sqlite_version"*) ;;
*) exit 1 ;;
esac
+%endif
cd %{tarballdir}
More information about the scm-commits
mailing list