rpms/thunderbird/devel thunderbird.spec,1.148,1.149

Christopher Aillon caillon at fedoraproject.org
Thu Sep 17 21:44:08 UTC 2009


Author: caillon

Update of /cvs/extras/rpms/thunderbird/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29485

Modified Files:
	thunderbird.spec 
Log Message:
handle tarballdir != buildsubdir


Index: thunderbird.spec
===================================================================
RCS file: /cvs/extras/rpms/thunderbird/devel/thunderbird.spec,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -p -r1.148 -r1.149
--- thunderbird.spec	17 Sep 2009 21:13:05 -0000	1.148
+++ thunderbird.spec	17 Sep 2009 21:44:07 -0000	1.149
@@ -189,9 +189,9 @@ install -Dm755 %{SOURCE30} $RPM_BUILD_RO
 %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
 
 # Install langpacks
+cd %{_builddir}/%{?buildsubdir}
 %{__rm} -f %{name}.lang # Delete for --short-circuit option
 touch %{name}.lang
-
 %if %{build_langpacks}
 %{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/extensions
 %{__tar} xjf %{SOURCE1}
@@ -222,6 +222,7 @@ for langpack in `ls thunderbird-langpack
 done
 %{__rm} -rf thunderbird-langpacks
 %endif # build_langpacks
+cd -
 
 # Copy over the LICENSE
 cd mozilla




More information about the scm-commits mailing list