handle tarballdir != buildsubdir
This commit is contained in:
parent
6a06c43d5f
commit
4c08d26d74
@ -189,9 +189,9 @@ install -Dm755 %{SOURCE30} $RPM_BUILD_ROOT/%{mozappdir}/open-browser.sh
|
|||||||
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
|
||||||
|
|
||||||
# Install langpacks
|
# Install langpacks
|
||||||
|
cd %{_builddir}/%{?buildsubdir}
|
||||||
%{__rm} -f %{name}.lang # Delete for --short-circuit option
|
%{__rm} -f %{name}.lang # Delete for --short-circuit option
|
||||||
touch %{name}.lang
|
touch %{name}.lang
|
||||||
|
|
||||||
%if %{build_langpacks}
|
%if %{build_langpacks}
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/extensions
|
%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/extensions
|
||||||
%{__tar} xjf %{SOURCE1}
|
%{__tar} xjf %{SOURCE1}
|
||||||
@ -222,6 +222,7 @@ for langpack in `ls thunderbird-langpacks/*.xpi`; do
|
|||||||
done
|
done
|
||||||
%{__rm} -rf thunderbird-langpacks
|
%{__rm} -rf thunderbird-langpacks
|
||||||
%endif # build_langpacks
|
%endif # build_langpacks
|
||||||
|
cd -
|
||||||
|
|
||||||
# Copy over the LICENSE
|
# Copy over the LICENSE
|
||||||
cd mozilla
|
cd mozilla
|
||||||
|
Loading…
Reference in New Issue
Block a user