Use an AppStream file compatible with F22 also

This commit is contained in:
Richard Hughes 2015-03-25 22:25:27 +00:00
parent 3c93219df6
commit 198ac84fcd

View File

@ -22,7 +22,7 @@
Name: ibus-anthy Name: ibus-anthy
Version: 1.5.6 Version: 1.5.6
Release: 3%{?dist} Release: 4%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -131,7 +131,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la
# register as an AppStream component # register as an AppStream component
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/anthy.metainfo.xml <<EOF cat > $RPM_BUILD_ROOT%{_datadir}/appdata/anthy.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="inputmethod"> <component type="inputmethod">
<id>anthy.xml</id> <id>anthy.xml</id>
@ -193,7 +193,7 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_datadir}/ibus-anthy %{_datadir}/ibus-anthy
%{_datadir}/ibus/component/* %{_datadir}/ibus/component/*
%endif %endif
%{_datadir}/appdata/*.metainfo.xml %{_datadir}/appdata/*.appdata.xml
%{_datadir}/icons/hicolor/scalable/apps/ibus-anthy.svg %{_datadir}/icons/hicolor/scalable/apps/ibus-anthy.svg
%if %with_python_pkg %if %with_python_pkg
@ -211,6 +211,9 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_libdir}/libanthygobject-%{sub_version}.so %{_libdir}/libanthygobject-%{sub_version}.so
%changelog %changelog
* Wed Mar 25 2015 Richard Hughes <rhughes@redhat.com> - 1.5.6-4
- Use an AppStream file compatible with F22 also.
* Wed Mar 25 2015 Richard Hughes <rhughes@redhat.com> - 1.5.6-3 * Wed Mar 25 2015 Richard Hughes <rhughes@redhat.com> - 1.5.6-3
- Register as an AppStream component. - Register as an AppStream component.