Resolves #2261242 Update era.t with 2024

- Add appstream-util validattion
This commit is contained in:
Takao Fujiwara 2024-01-30 13:31:11 +09:00
parent 63fed62ed9
commit b3293cdd26
2 changed files with 47 additions and 2 deletions

View File

@ -83,3 +83,42 @@ index 7c0d283..4b50a01 100644
-- --
2.41.0 2.41.0
From 0cb7776994fadb4a4edf3259133bb40e7db31936 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Tue, 30 Jan 2024 11:47:51 +0900
Subject: [PATCH] data: Update era.t with 2024
---
data/era.t | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/data/era.t b/data/era.t
index 7f7bd1b..8750bc5 100644
--- a/data/era.t
+++ b/data/era.t
@@ -2,7 +2,7 @@
#
# ibus-anthy - The Anthy engine for IBus
#
-# Copyright (c) 2010-2023 Takao Fujiwara <takao.fujiwara1@gmail.com>
+# Copyright (c) 2010-2024 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2010-2013 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
@@ -342,6 +342,8 @@
れいわ4 #T35*500 2022
れいわ5 #T35*500 令和5
れいわ5 #T35*500 2023
+れいわ6 #T35*500 令和6
+れいわ6 #T35*500 2024
#T35*500 明治1
#T35*500 明治2
#T35*500 明治3
@@ -502,3 +504,4 @@
#T35*500 令和3
#T35*500 令和4
#T35*500 令和5
+ #T35*500 令和6
--
2.43.0

View File

@ -18,7 +18,7 @@
Name: ibus-anthy Name: ibus-anthy
Version: 1.5.15 Version: 1.5.15
Release: 4%{?dist} Release: 5%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://github.com/ibus/ibus/wiki URL: https://github.com/ibus/ibus/wiki
@ -40,6 +40,7 @@ BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-gobject BuildRequires: python3-gobject
BuildRequires: /usr/bin/appstream-util
Requires: ibus >= %{require_ibus_version} Requires: ibus >= %{require_ibus_version}
%if %{with kasumi_unicode} %if %{with kasumi_unicode}
@ -118,6 +119,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la
%check %check
desktop-file-validate \ desktop-file-validate \
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-anthy.desktop $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-anthy.desktop
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.xml
export LANG=C.UTF-8 export LANG=C.UTF-8
locale locale
make -C data check make -C data check
@ -138,10 +140,10 @@ make -C data check
%files python %files python
%{_libexecdir}/ibus-*-anthy %{_libexecdir}/ibus-*-anthy
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/ibus-anthy/engine %{_datadir}/ibus-anthy/engine
%{_datadir}/ibus-anthy/setup %{_datadir}/ibus-anthy/setup
%{_datadir}/ibus/component/* %{_datadir}/ibus/component/*
%{_metainfodir}/*.xml
%files devel %files devel
%{_datadir}/gir-1.0/Anthy*.gir %{_datadir}/gir-1.0/Anthy*.gir
@ -155,6 +157,10 @@ make -C data check
%{_datadir}/installed-tests/%{name} %{_datadir}/installed-tests/%{name}
%changelog %changelog
* Tue Jan 30 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.15-5
- Resolves #2261242 Update era.t with 2024
- Add appstream-util validattion
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.15-4 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild