From 5d962ffdc4d75c33a700f77ffba333bab98f6fa2 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 21 Oct 2024 08:57:52 +0800 Subject: [PATCH] cleanup spec (cherry picked from commit a795b21e2a746735741cfb2a90beebc8bb10c974) --- m4.spec | 22 ++++++++++------------ m4.yaml | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/m4.spec b/m4.spec index cbcb95d..a9e3bfb 100644 --- a/m4.spec +++ b/m4.spec @@ -1,8 +1,8 @@ Name: m4 Version: 1.4.19 -Release: 4 +Release: 5 Summary: A GNU implementation of macro processor -License: GPLv3+ +License: GPL-3.0-or-later URL: https://www.gnu.org/software/m4/ Source0: https://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.xz Patch1: 0001-Delete-test-execute_sh.patch @@ -18,12 +18,7 @@ example, handling more than 9 positional parameters to macros). GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc. -%package help -Summary: Help Document -BuildArch: noarch -Requires: %{name} = %{version}-%{release} -%description help -This package provides help document for m4. +%package_help %prep %autosetup -p1 @@ -40,22 +35,25 @@ autoreconf -ivf %make_install rm -rf %{buildroot}%{_infodir}/dir +%find_lang %{name} + %check -make check +%make_build check -%files +%files -f %{name}.lang %doc README ChangeLog %license COPYING AUTHORS %{_bindir}/m4 -%{_infodir}/../locale/* %files help -%defattr(-,root,root) %doc NEWS INSTALL THANKS TODO %{_mandir}/man1/m4* %{_infodir}/m4* %changelog +* Mon Oct 21 2024 Funda Wang - 1.4.19-5 +- cleanup spec + * Wed Jul 31 2024 zhangruifang - 1.4.19-4 - backport patch from upstream diff --git a/m4.yaml b/m4.yaml index 565694b..d74ed26 100644 --- a/m4.yaml +++ b/m4.yaml @@ -1,4 +1,4 @@ version_control: git src_repo: https://git.savannah.gnu.org/git/m4.git tag_prefix: ^v -seperator: "." +separator: "." -- Gitee