cleanup spec

This commit is contained in:
hugel 2024-10-23 17:06:17 +08:00
parent a1ed57101f
commit 498a5c96cc

20
m4.spec
View File

@ -1,8 +1,8 @@
Name: m4
Version: 1.4.18
Release: 17
Release: 18
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
Patch0: m4-1.4.18-glibc-change-work-around.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
@ -41,7 +36,7 @@ autoreconf -ivf
rm -rf %{buildroot}%{_infodir}/dir
%check
make check
%make_build check
%files
%doc README ChangeLog
@ -49,12 +44,17 @@ make check
%{_bindir}/m4
%files help
%defattr(-,root,root)
%doc NEWS INSTALL THANKS TODO
%{_mandir}/man1/m4*
%{_infodir}/m4*
%changelog
* Wed Oct 23 2024 gengqihu <gengqihu2@h-partners.com> - 1.4.18-18
- Type:NA
- ID:NA
- SUG:NA
- DESC:cleanup spec
* Mon Aug 12 2024 gengqihu <gengqihu2@h-partners.com> - 1.4.18-17
- Type:bugfix
- ID:NA