diff --git a/gnome-online-accounts.spec b/gnome-online-accounts.spec index 40f1e3f..e1f7c47 100644 --- a/gnome-online-accounts.spec +++ b/gnome-online-accounts.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define have_lang 0 Name: gnome-online-accounts @@ -80,6 +81,7 @@ libraries in GNOME can access the user's online accounts. %if %{have_lang} %lang_package %endif + %prep %setup -q @@ -135,6 +137,7 @@ rm -rf %{buildroot} %{_datadir}/gir-1.0/*.gir %if %{have_lang} + %files lang -f %{name}.lang %endif