diff --git a/gtranslator.changes b/gtranslator.changes index 3c2d888..3263751 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 18 12:05:35 UTC 2015 - zaitor@opensuse.org + +- Own appdata dir on older versions of openSUSE. + ------------------------------------------------------------------- Mon Mar 16 09:34:18 UTC 2015 - dimstar@opensuse.org diff --git a/gtranslator.spec b/gtranslator.spec index d02b6be..84d36df 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -108,6 +108,10 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/%{name}/ +# own dir on older version of openSUSE +%if 0%{?suse_version} < 1320 +%dir %{_datadir}/appdata/ +%endif %{_datadir}/appdata/gtranslator.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/glib-2.0/schemas/*.gschema.xml