summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-11-03 17:36:16 +0100
committerRemi Collet <fedora@famillecollet.com>2013-11-03 17:36:16 +0100
commit598c081f0237b7b45c303a735fc0550682bd80ef (patch)
tree94dde6de467569cfbaf52e58300037e8e2492edb
parent18d6aaea7643ae6411c6d38b6704362a731c8bb7 (diff)
thunderbird-enigmail: minimal build, only required Thunderbird componentsHEADmaster
-rw-r--r--thunderbird-enigmail.spec34
1 files changed, 19 insertions, 15 deletions
diff --git a/thunderbird-enigmail.spec b/thunderbird-enigmail.spec
index 7f1af30..2da56c4 100644
--- a/thunderbird-enigmail.spec
+++ b/thunderbird-enigmail.spec
@@ -1,9 +1,5 @@
-# Use system nspr/nss?
-%if 0%{?fedora} < 18
+# Always use bunled nspr for "make export"
%define system_nss 0
-%else
-%define system_nss 1
-%endif
%if 0%{?fedora} < 15
%define system_vpx 0
@@ -69,7 +65,7 @@
Summary: Authentication and encryption extension for Mozilla Thunderbird
Name: thunderbird-enigmail
Version: 1.6
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://enigmail.mozdev.org/
# All files licensed under MPL 1.1/GPL 2.0/LGPL 2.1
License: MPLv1.1 or GPLv2+ or LGPLv2+
@@ -343,17 +339,22 @@ MOZ_SMP_FLAGS=-j1
# ===== Thunderbird build =====
+export STRIP="/bin/true"
+export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
+#make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
+
+# Minimal build as described in upstream documentation
# http://enigmail.mozdev.org/download/source.php.html
-make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
+make -f client.mk configure
-#make -f client.mk configure STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
-#pushd objdir
-#make -C mozilla tier_base \
-#%if ! %{?system_nss}
-# tier_nspr \
-#%endif
-# tier_js STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
-#popd
+pushd objdir
+make -C mozilla tier_base \
+%if ! %{?system_nss}
+ tier_nspr \
+%endif
+ tier_js
+make export
+popd
# ===== Enigmail work =====
pushd mailnews/extensions/enigmail
@@ -381,6 +382,9 @@ unzip -q objdir/mozilla/dist/bin/enigmail-*-linux-*.xpi -d $RPM_BUILD_ROOT%{enig
#===============================================================================
%changelog
+* Sun Nov 3 2013 Remi Collet <remi@fedoraproject.org> 1.6-3
+- minimal build, only required Thunderbird components
+
* Wed Oct 30 2013 Remi Collet <remi@fedoraproject.org> 1.6-2
- Enigmail 1.6 for Thunderbird 24.1.0
- enable python27 and devtoolset-2 (gcc 4.8) for EL-6