From 2fec30971420777ddc8569781c8177e3ebd7cf4c Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Thu, 2 May 2024 15:00:20 +0900 Subject: [PATCH] Bump to 1.0.0.20240502 --- .gitignore | 1 + anthy-unicode-1.0.0.20240502.tar.gz.sum | 4 ++++ anthy-unicode-HEAD.patch | 0 anthy-unicode.spec | 15 ++++++++++----- sources | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 anthy-unicode-1.0.0.20240502.tar.gz.sum create mode 100644 anthy-unicode-HEAD.patch diff --git a/.gitignore b/.gitignore index a84de3d..7679a8a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /anthy-unicode-1.0.0.20191015.tar.gz /anthy-unicode-1.0.0.20201109.tar.gz /anthy-unicode-1.0.0.20211224.tar.gz +/anthy-unicode-1.0.0.20240502.tar.gz diff --git a/anthy-unicode-1.0.0.20240502.tar.gz.sum b/anthy-unicode-1.0.0.20240502.tar.gz.sum new file mode 100644 index 0000000..5cf1eac --- /dev/null +++ b/anthy-unicode-1.0.0.20240502.tar.gz.sum @@ -0,0 +1,4 @@ +cksum 2650323057 5196128 anthy-unicode-1.0.0.20240502.tar.gz +sha1sum 18c885dc0821ec675bee95e138ac7acd88ff3a3a anthy-unicode-1.0.0.20240502.tar.gz +sha256sum 43a13f24cc4749a1248bc6d0ce7796743b176ae68ee524cb4331bef64ac133b0 anthy-unicode-1.0.0.20240502.tar.gz +sha512sum 835f7cbd5c3afc3dcd7002b77c94a5c69e67f970584c223b47329ece011148cbc4e9f65332c00bbdbe2f407a2daa7f9e10067a182a27d07074e0f1406bb3bbc2 anthy-unicode-1.0.0.20240502.tar.gz diff --git a/anthy-unicode-HEAD.patch b/anthy-unicode-HEAD.patch new file mode 100644 index 0000000..e69de29 diff --git a/anthy-unicode.spec b/anthy-unicode.spec index caa3a9b..88953f5 100644 --- a/anthy-unicode.spec +++ b/anthy-unicode.spec @@ -9,7 +9,7 @@ Name: anthy-unicode -Version: 1.0.0.20211224 +Version: 1.0.0.20240502 Release: %autorelease # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.0-or-later and GPL-2.0-or-later and LicenseRef-Fedora-Public-Domain @@ -30,10 +30,10 @@ BuildRequires: make %endif Source0: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}/%{name}-%{version}.tar.gz -Source1: %{name}-init.el +Source1: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}/%{name}-%{version}.tar.gz.sum +Source2: %{name}-init.el # Upstreamed patches #Patch0: %%{name}-HEAD.patch -Patch0: %{name}-HEAD.patch Summary: Japanese character set input library for Unicode @@ -76,6 +76,11 @@ the programs which uses Anthy Unicode. %prep +SAVED_SUM=$(grep sha512sum %SOURCE1 | awk '{print $2}') +MY_SUM=$(sha512sum %SOURCE0 | awk '{print $1}') +if test x"$SAVED_SUM" != x"$MY_SUM" ; then + abort +fi %autosetup -S git %build @@ -93,12 +98,12 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.la ## for emacs-anthy mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir} -install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir} +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir} %if %{with xemacs} ## for xemacs-anthy mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir} -install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir} +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_xemacs_sitestartdir} # FIXME lisp build pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util make clean diff --git a/sources b/sources index 019ac59..b3ba7ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anthy-unicode-1.0.0.20211224.tar.gz) = 8971129df716b4cb21c5c9fb24a98388381d8172004126f68c037d47721b0fd9ab9cb0b6ef73414e62bf9d832c59f09743546da72366c7692bfd146a05bf800d +SHA512 (anthy-unicode-1.0.0.20240502.tar.gz) = 835f7cbd5c3afc3dcd7002b77c94a5c69e67f970584c223b47329ece011148cbc4e9f65332c00bbdbe2f407a2daa7f9e10067a182a27d07074e0f1406bb3bbc2