diff --git a/m4.spec b/m4.spec index 4dc745b9afae74f3bb26a61de7b3075a108b02dc..c8f58b52b49f51a6df4e3a0c7760fed1b7ded263 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 565694b990982f47cdffe56ab1b2f223ba550d16..d74ed26d6c7168682f6acf67fe716be9ee60d4c7 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: "."