summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2008-04-08 13:51:18 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2008-04-08 13:51:18 +0000
commitaf4445e91105a079b55b2e9a1ad63ad0a048657e (patch)
treea2ee945aff2182d174eec230ab7ccdacbe09dda3 /firefox.spec
parent- Update to latest trunk (2008-04-07) (diff)
downloadlibrewolf-fedora-ff-af4445e91105a079b55b2e9a1ad63ad0a048657e.tar.gz
librewolf-fedora-ff-af4445e91105a079b55b2e9a1ad63ad0a048657e.tar.bz2
librewolf-fedora-ff-af4445e91105a079b55b2e9a1ad63ad0a048657e.zip
touch the lang file so %files -f works when we don't have langpacks
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 43eeda3..a06f013 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -240,6 +240,10 @@ done
%{__rm} -rf firefox-langpacks
%endif # build_langpacks
+%if ! %{build_langpacks}
+touch ../%{name}.lang
+%endif
+
# System extensions
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}
bgstack15