m4/m4.spec

116 lines
2.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:03:13 -04:00
Name: m4
2021-12-30 19:54:05 +08:00
Version: 1.4.19
Release: 5
2019-09-30 11:03:13 -04:00
Summary: A GNU implementation of macro processor
License: GPL-3.0-or-later
2019-09-30 11:03:13 -04:00
URL: https://www.gnu.org/software/m4/
Source0: https://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.xz
2021-12-30 19:54:05 +08:00
Patch1: 0001-Delete-test-execute_sh.patch
Patch6000: backport-output-Avoid-tickling-UBSAN-with-memcpy-dest-NULL-0.patch
2019-09-30 11:03:13 -04:00
2021-12-30 19:54:05 +08:00
BuildRequires: gcc autoconf automake gettext-devel
2019-09-30 11:03:13 -04:00
Provides: bundled(gnulib)
%description
GNU M4 is an implementation of the traditional Unix macro processor.
It is mostly SVR4 compatible although it has some extensions (for
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
2019-09-30 11:03:13 -04:00
%prep
%autosetup -p1
%build
2022-03-08 10:40:08 +08:00
%ifarch aarch64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
2019-09-30 11:03:13 -04:00
autoreconf -ivf
%configure
%make_build
%install
%make_install
rm -rf %{buildroot}%{_infodir}/dir
%find_lang %{name}
2019-09-30 11:03:13 -04:00
%check
%make_build check
2019-09-30 11:03:13 -04:00
%files -f %{name}.lang
2019-11-06 19:42:41 +08:00
%doc README ChangeLog
%license COPYING AUTHORS
2019-09-30 11:03:13 -04:00
%{_bindir}/m4
%files help
%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
* Tue Oct 25 2022 renhongxun <renhongxun@h-partners.com> - 1.4.19-3
- Rebuild for next release
2022-03-08 10:40:08 +08:00
* Tue Mar 08 2022 renhongxun <renhongxun@h-partners.com> - 1.4.19-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix test-localconv
2021-12-30 19:54:05 +08:00
* Tue Dec 30 2021 liudabo <liudabo1@huawei.com> - 1.4.19-1
- DESC:update version to 1.4.19
2021-12-21 21:23:38 +08:00
* Tue Dec 21 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-17
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add -fsigned-char to %check
2021-08-10 15:17:36 +08:00
* Tue Aug 10 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-16
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:c-stack:stop using SIGSTKSZ
2021-08-04 02:31:34 +00:00
* Wed Aug 04 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-15
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix changelog error
* Fri Mar 19 2021 shixuantong <shixuantong@huawei.com> - 1.4.18-14
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix test_localeconv fail in aarch64 machine
2021-08-04 02:31:34 +00:00
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4.18-13
2019-12-31 15:02:16 +08:00
- Type:NA
- ID:NA
- SUG:NA
- DESC:delete unneeded source
2019-11-06 19:42:41 +08:00
* Mon Oct 21 2019 shenyangyang <shenyangyang4@huawei.com> - 1.4.18-12
- Type:NA
- ID:NA
- SUG:NA
- DESC:move AUTHORS to license directory
2019-09-30 11:03:13 -04:00
* Sun Sep 29 2019 shenyangyang <shenyangyang4@huawei.com> - 1.4.18-11
- Type:NA
- ID:NA
- SUG:NA
- DESC:move the directory of README
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4.18-10
- Package Init