summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-08-27 20:28:00 +0200
committerRemi Collet <fedora@famillecollet.com>2012-08-27 20:28:00 +0200
commit9943eb6a0f8e2039b6845b552c9f4903ba26fffd (patch)
treea1f28d0814b8cd4763a1addd2fdcab2fc61c781b
parent621ecb9357c1f2a6ffc323aa852068ba225c7097 (diff)
Thunderbird 15.0
-rw-r--r--crashreporter-remove-static.patch13
-rw-r--r--thunderbird.spec30
2 files changed, 20 insertions, 23 deletions
diff --git a/crashreporter-remove-static.patch b/crashreporter-remove-static.patch
deleted file mode 100644
index 330ab1a..0000000
--- a/crashreporter-remove-static.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Remove static build option from crashreporter to remove dependency on static libraries
-
-diff -up comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in.static comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in
---- comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in.static 2010-06-23 19:47:11.000000000 +0200
-+++ comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in 2010-07-12 15:51:41.000000000 +0200
-@@ -64,6 +64,6 @@ FORCE_USE_PIC = 1
-
- #XXX: bug 554854 causes us to be unable to run binaries on the build slaves
- # due to them having an older libstdc++
--HOST_LDFLAGS += -static
-+#HOST_LDFLAGS += -static
-
- include $(topsrcdir)/config/rules.mk
diff --git a/thunderbird.spec b/thunderbird.spec
index 7c5b9c8..17f2a0b 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -7,7 +7,7 @@
%else
%define system_sqlite 1
%endif
-%if 0%{?fedora} < 15
+%if 0%{?fedora} < 15 && 0%{?rhel} < 6
%define system_nspr 0
%define system_nss 0
%else
@@ -52,14 +52,14 @@
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
-Version: 14.0
+Version: 15.0
Release: 1%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.bz2
%if %{build_langpacks}
-Source1: thunderbird-langpacks-%{version}-20120721.tar.bz2
+Source1: thunderbird-langpacks-%{version}-20120827.tar.xz
%endif
Source10: thunderbird-mozconfig
Source11: thunderbird-mozconfig-branded
@@ -71,7 +71,6 @@ Source100: find-external-requires
# Mozilla (XULRunner) patches
Patch0: thunderbird-install-dir.patch
-Patch7: crashreporter-remove-static.patch
Patch8: xulrunner-10.0-secondary-ipc.patch
# Build patches
@@ -104,7 +103,7 @@ BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
BuildRequires: zip
BuildRequires: bzip2-devel
-BuildRequires: zlib-devel, gzip, zip, unzip
+BuildRequires: zlib-devel, gzip, zip, unzip, xz
BuildRequires: libIDL-devel
BuildRequires: gtk2-devel
BuildRequires: gnome-vfs2-devel
@@ -189,7 +188,6 @@ cd %{tarballdir}
%patch0 -p2 -b .dir
# Mozilla (XULRunner) patches
cd mozilla
-%patch7 -p2 -b .static
%patch8 -p3 -b .secondary-ipc
%patch104 -p1 -b .gcc47
cd ..
@@ -344,7 +342,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/thunderbird
touch %{name}.lang
%if %{build_langpacks}
%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/langpacks
-%{__tar} xjf %{SOURCE1}
+%{__tar} xf %{SOURCE1}
for langpack in `ls thunderbird-langpacks/*.xpi`; do
language=`basename $langpack .xpi`
extensionID=langpack-$language@thunderbird.mozilla.org
@@ -356,6 +354,9 @@ done
%{__rm} -rf thunderbird-langpacks
%endif # build_langpacks
+# Get rid of devel package and its debugsymbols
+%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}-devel-%{version}
+
# Copy over the LICENSE
cd mozilla
install -c -m 644 LICENSE $RPM_BUILD_ROOT%{mozappdir}
@@ -469,7 +470,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%exclude %{_datadir}/idl/%{name}-%{version}
%exclude %{_includedir}/%{name}-%{version}
-%exclude %{_libdir}/%{name}-devel-%{version}
%{mozappdir}/chrome.manifest
%{mozappdir}/searchplugins
%{mozappdir}/distribution/extensions
@@ -478,9 +478,19 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#===============================================================================
%changelog
-* Wed Aug 1 2012 Martin Stransky <stransky@redhat.com> - 14.0-3
-- removed StartupWMClass (rhbz#844863)
+* Mon Aug 27 2012 Remi Collet <RPMS@FamilleCollet.com> - 15.0-1
+- Sync with rawhide, update to 15.0
+
+* Mon Aug 27 2012 Jan Horak <jhorak@redhat.com> - 15.0-1
+- Update to 15.0
+
+* Wed Aug 1 2012 Martin Stransky <stransky@redhat.com> - 14.0-4
+- Removed StartupWMClass (rhbz#844863)
- Fixed -g parameter
+- Removed thunderbird-devel before packing to avoid debugsymbols duplicities (rhbz#823940)
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jul 21 2012 Remi Collet <RPMS@FamilleCollet.com> - 14.0-1
- Sync with rawhide, update to 14.0