- restore texinfo macros for SLE15

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=144
This commit is contained in:
Dirk Mueller 2024-04-10 20:20:23 +00:00 committed by Git OBS Bridge
parent 4ccf627561
commit 30c4adfb72
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 10 20:20:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- restore texinfo macros for SLE15
-------------------------------------------------------------------
Wed Aug 16 14:21:13 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -34,6 +34,10 @@ BuildRequires: fdupes
BuildRequires: glibc-locale
BuildRequires: makeinfo
BuildRequires: pkgconfig(libpcre2-8)
%if 0%{?suse_version} < 1550
Requires(pre): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%endif
Provides: base:%{_bindir}/grep
%description
@ -80,6 +84,14 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep
%fdupes -s %{buildroot}
%find_lang %{name}
%if 0%{?suse_version} < 1550
%post
%install_info --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
%endif
%files
%license COPYING
%doc README AUTHORS NEWS THANKS TODO ChangeLog*