cleanup spec
(cherry picked from commit a795b21e2a746735741cfb2a90beebc8bb10c974)
This commit is contained in:
parent
a95f3b583d
commit
2e3787d599
24
m4.spec
24
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
|
||||
|
||||
%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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user