From af4445e91105a079b55b2e9a1ad63ad0a048657e Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Tue, 8 Apr 2008 13:51:18 +0000 Subject: touch the lang file so %files -f works when we don't have langpacks --- firefox.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firefox.spec') 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} -- cgit