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
|
Name: m4
|
||||||
Version: 1.4.19
|
Version: 1.4.19
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A GNU implementation of macro processor
|
Summary: A GNU implementation of macro processor
|
||||||
License: GPLv3+
|
License: GPL-3.0-or-later
|
||||||
URL: https://www.gnu.org/software/m4/
|
URL: https://www.gnu.org/software/m4/
|
||||||
Source0: https://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.xz
|
Source0: https://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.xz
|
||||||
Patch1: 0001-Delete-test-execute_sh.patch
|
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,
|
also has built-in functions for including files, running shell commands,
|
||||||
doing arithmetic, etc.
|
doing arithmetic, etc.
|
||||||
|
|
||||||
%package help
|
%package_help
|
||||||
Summary: Help Document
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
%description help
|
|
||||||
This package provides help document for m4.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -40,22 +35,25 @@ autoreconf -ivf
|
|||||||
%make_install
|
%make_install
|
||||||
rm -rf %{buildroot}%{_infodir}/dir
|
rm -rf %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
%check
|
%find_lang %{name}
|
||||||
make check
|
|
||||||
|
|
||||||
%files
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
%doc README ChangeLog
|
%doc README ChangeLog
|
||||||
%license COPYING AUTHORS
|
%license COPYING AUTHORS
|
||||||
%{_bindir}/m4
|
%{_bindir}/m4
|
||||||
%{_infodir}/../locale/*
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc NEWS INSTALL THANKS TODO
|
%doc NEWS INSTALL THANKS TODO
|
||||||
%{_mandir}/man1/m4*
|
%{_mandir}/man1/m4*
|
||||||
%{_infodir}/m4*
|
%{_infodir}/m4*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 31 2024 zhangruifang <zhangruifang@h-partners.com> - 1.4.19-4
|
||||||
- backport patch from upstream
|
- backport patch from upstream
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user