From 685952ce51b5ce6e9ccf18221ad506953228bccf Mon Sep 17 00:00:00 2001 From: Dmitry Butskoy Date: Oct 31 2012 15:38:56 +0000 Subject: fix startup warnings (error console) for omni --- 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 - 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 2.13.2-1 - Update to 2.13.2