diff options
author | Martin Stransky <stransky@redhat.com> | 2013-04-18 15:28:15 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2013-04-18 15:28:15 +0200 |
commit | 15f84056da66845868c6e6922044961f5a923b3e (patch) | |
tree | b9850c14b1278c781f7be167b0bbf4a3a3a713d2 | |
parent | Added a workaround for rhbz#907424 - textarea redrawn wrongly during edit (diff) | |
download | librewolf-fedora-ff-15f84056da66845868c6e6922044961f5a923b3e.tar.gz librewolf-fedora-ff-15f84056da66845868c6e6922044961f5a923b3e.tar.bz2 librewolf-fedora-ff-15f84056da66845868c6e6922044961f5a923b3e.zip |
Added xulrunner SDK check
-rw-r--r-- | firefox.spec | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec index 95e73e6..d359b84 100644 --- a/firefox.spec +++ b/firefox.spec @@ -55,7 +55,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 20.0 -Release: 3%{?pre_tag}%{?dist} +Release: 4%{?pre_tag}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -147,8 +147,14 @@ cd %{tarballdir} %endif # Set up SDK path -echo "ac_add_options --with-libxul-sdk=\ -`pkg-config --variable=sdkdir libxul`" >> .mozconfig +MOZILLA_SDK_PATH=`pkg-config --variable=sdkdir libxul` +if [ -z $MOZILLA_SDK_PATH ]; then + echo "XulRunner SDK is not available!" + exit 1 +else + echo "XulRunner SDK path: $MOZILLA_SDK_PATH" + echo "ac_add_options --with-libxul-sdk=$MOZILLA_SDK_PATH" >> .mozconfig +fi %if !%{?separated_plugins} echo "ac_add_options --disable-ipc" >> .mozconfig @@ -426,6 +432,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Thu Apr 18 2013 Martin Stransky <stransky@redhat.com> - 20.0-4 +- Updated xulrunner check + * Thu Apr 18 2013 Martin Stransky <stransky@redhat.com> - 20.0-3 - Added a workaround for rhbz#907424 - textarea redrawn wrongly during edit |