Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/firefox

This commit is contained in:
Jan Horak 2017-05-31 14:31:25 +02:00
commit c5d80fd83d

View File

@ -661,7 +661,7 @@ SentUpstream: 2014-09-22
</application> </application>
EOF EOF
echo > ../%{name}.lang echo > %{name}.lang
%if %{build_langpacks} %if %{build_langpacks}
# Extract langpacks, make any mods needed, repack the langpack, and install it. # Extract langpacks, make any mods needed, repack the langpack, and install it.
%{__mkdir_p} $RPM_BUILD_ROOT%{langpackdir} %{__mkdir_p} $RPM_BUILD_ROOT%{langpackdir}
@ -679,7 +679,7 @@ for langpack in `ls firefox-langpacks/*.xpi`; do
%{__install} -m 644 ${extensionID}.xpi $RPM_BUILD_ROOT%{langpackdir} %{__install} -m 644 ${extensionID}.xpi $RPM_BUILD_ROOT%{langpackdir}
language=`echo $language | sed -e 's/-/_/g'` language=`echo $language | sed -e 's/-/_/g'`
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> ../%{name}.lang echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
done done
%{__rm} -rf firefox-langpacks %{__rm} -rf firefox-langpacks
@ -690,7 +690,7 @@ language_short=$2
cd $RPM_BUILD_ROOT%{langpackdir} cd $RPM_BUILD_ROOT%{langpackdir}
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
cd - cd -
echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> ../%{name}.lang echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> %{name}.lang
} }
# Table of fallbacks for each language # Table of fallbacks for each language