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
Version: 1.5.6
Release: 3%{?dist}
Release: 4%{?dist}
Summary: The Anthy engine for IBus input platform
License: GPLv2+
Group: System Environment/Libraries
@ -131,7 +131,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la
# register as an AppStream component
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"?>
<component type="inputmethod">
<id>anthy.xml</id>
@ -193,7 +193,7 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_datadir}/ibus-anthy
%{_datadir}/ibus/component/*
%endif
%{_datadir}/appdata/*.metainfo.xml
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/icons/hicolor/scalable/apps/ibus-anthy.svg
%if %with_python_pkg
@ -211,6 +211,9 @@ touch --no-create %{_datadir}/icons/hicolor || :
%{_libdir}/libanthygobject-%{sub_version}.so
%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
- Register as an AppStream component.