summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgi Georgiev <chutzimir@gmail.com>2011-10-12 15:46:41 +0900
committerGeorgi Georgiev <chutzimir@gmail.com>2011-10-12 16:00:56 +0900
commitefe23299a56bddb2fc6336390d03646a5b6e0057 (patch)
treed9cae69206dee3c1f1df43870d3578b0402054af
parente22f3d2eef87472c525f4e795a02c0aa1140cca2 (diff)
Issues when build_langpacks is 0
-rw-r--r--thunderbird.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/thunderbird.spec b/thunderbird.spec
index fb4561c..5dbc2e5 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -140,7 +140,9 @@ debug %{name}, you want to install %{name}-debuginfo instead.
%prep
echo CIBLE = %{name}-%{version}-%{release}
+%if %{build_langpacks}
[ -f %{SOURCE1} ] || exit 1
+%endif
%setup -q -c
sed -e "s/^Name=.*/Name=Thunderbird %{version} %{?relcan}/" \
@@ -388,7 +390,9 @@ fi
%{mozappdir}/dictionaries
%dir %{mozappdir}/extensions
%{mozappdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+%if %{build_langpacks}
%dir %{mozappdir}/langpacks
+%endif
%{mozappdir}/greprefs
%{mozappdir}/isp
%{mozappdir}/mozilla-xremote-client