summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgi Georgiev <chutzimir@gmail.com>2011-10-29 12:55:49 +0900
committerGeorgi Georgiev <chutzimir@gmail.com>2011-10-29 13:00:02 +0900
commit5122bf6afa0732462c84b0718138b7c450b09cde (patch)
treee71c381b623b174382df4343c7974d02e70f6853
parentefe23299a56bddb2fc6336390d03646a5b6e0057 (diff)
Fix all the wrong version tests
Of course the way these tests are written, they always evaluate to true.
-rw-r--r--thunderbird.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/thunderbird.spec b/thunderbird.spec
index 5dbc2e5..762ff25 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -169,14 +169,14 @@ cd ..
%{__rm} -f .mozconfig
#{__cp} %{SOURCE10} .mozconfig
cat %{SOURCE10} \
-%if 0%{?fedora} < 15 || 0%{?rhel} <= 6
+%if 0%{?fedora} < 15 && 0%{?rhel} <= 6
| grep -v system-sqlite \
%endif
-%if 0%{?fedora} < 14 || 0%{?rhel} <= 6
+%if 0%{?fedora} < 14 && 0%{?rhel} <= 6
| grep -v system-nss \
| grep -v system-nspr \
%endif
-%if 0%{?fedora} < 15 || 0%{?rhel} <= 6
+%if 0%{?fedora} < 15 && 0%{?rhel} <= 6
| grep -v enable-system-cairo \
%endif
%ifarch %{ix86} x86_64
@@ -190,7 +190,7 @@ ac_add_options --enable-system-lcms
%if 0%{?fedora} >= 15
ac_add_options --enable-system-sqlite
%endif
-%if 0%{?fedora} < 14 || 0%{?rhel} <= 6
+%if 0%{?fedora} < 14 && 0%{?rhel} <= 6
ac_add_options --disable-libjpeg-turbo
%endif
EOF