!43 [sync] PR-42: cleanup spec

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-10-21 04:17:21 +00:00 committed by Gitee
commit a3aa0e4af8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 12 additions and 14 deletions

24
m4.spec
View File

@ -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
%check
make check
%find_lang %{name}
%files
%check
%make_build check
%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 <fundawang@yeah.net> - 1.4.19-5
- cleanup spec
* Wed Jul 31 2024 zhangruifang <zhangruifang@h-partners.com> - 1.4.19-4
- backport patch from upstream

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://git.savannah.gnu.org/git/m4.git
tag_prefix: ^v
seperator: "."
separator: "."