[thunderbird] Removed thunderbird-devel before packing to avoid including devel package's debuginfo

Jan Horak xhorak at fedoraproject.org
Fri Aug 10 13:33:13 UTC 2012


commit 89e574caf2062e1c85520621c9862a8a5690db19
Author: Jan Horak <jhorak at redhat.com>
Date:   Fri Aug 10 15:33:06 2012 +0200

    Removed thunderbird-devel before packing to avoid including devel package's debuginfo

 thunderbird.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 241525a..d03ee61 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -40,7 +40,7 @@
 Summary:        Mozilla Thunderbird mail/newsgroup client
 Name:           thunderbird
 Version:        14.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 URL:            http://www.mozilla.org/projects/thunderbird/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -296,6 +296,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}
@@ -380,7 +383,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
@@ -389,9 +391,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #===============================================================================
 
 %changelog
-* Wed Aug 1 2012 Martin Stransky <stransky at redhat.com> - 14.0-3
-- removed StartupWMClass (rhbz#844863)
+* Wed Aug 1 2012 Martin Stransky <stransky at 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 at lists.fedoraproject.org> - 14.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list