[seamonkey] fix startup warnings (error console) for omni
Dmitry Butskoy
buc at fedoraproject.org
Wed Oct 31 15:39:07 UTC 2012
commit 685952ce51b5ce6e9ccf18221ad506953228bccf
Author: Dmitry Butskoy <Dmitry at Butskoy.name>
Date: Wed Oct 31 19:38:56 2012 +0400
fix startup warnings (error console) for omni
seamonkey.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/seamonkey.spec b/seamonkey.spec
index 013d0d4..30e7ab0 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -174,6 +174,11 @@ DESTDIR=$RPM_BUILD_ROOT make -C objdir install
# fix omni.jar to actually work
pushd objdir/mozilla/dist/bin
zip -d $RPM_BUILD_ROOT/%{mozdir}/omni.ja components/browser.xpt components/mail.xpt components/components.manifest chrome/localized.manifest chrome/nonlocalized.manifest
+
+# this contains only binary componetes which will be not present in the jar
+%{__rm} -f components/components.manifest
+sed -i -e '/ components\/components.manifest/ d' chrome.manifest
+
zip -9r $RPM_BUILD_ROOT/%{mozdir}/omni.ja chrome.manifest components/*.xpt chrome/*.manifest components/*.manifest components/*.js
popd
@@ -438,7 +443,7 @@ fi
%changelog
* Wed Oct 31 2012 Dmitry Butskoy <Dmitry at Butskoy.name>
- exclude ppc64 arch (hoping it is temporary, #866589)
-- fix startup warnings (error console) for inspector
+- fix startup warnings (error console) for omni and inspector
* Mon Oct 26 2012 Martin Stransky <stransky at redhat.com> 2.13.2-1
- Update to 2.13.2
More information about the scm-commits
mailing list