Accepting request 287593 from home:dimstar:Factory

- Replace texinfo BuildRequires with makeinfo and texi2html: only
  those parts are needed.
- Add indent-texi2html-5.0.patch: Fix build with texi2html 5.0
  (note: patches Makeinfo.in in order to not depend on libtool)
- Move install_info_delete from postun to preun.

OBS-URL: https://build.opensuse.org/request/show/287593
OBS-URL: https://build.opensuse.org/package/show/devel:tools/indent?expand=0&rev=7
This commit is contained in:
Martin Pluskal
2015-02-24 19:54:29 +00:00
committed by Git OBS Bridge
parent 9b7c52fcbe
commit 2704117eaf
3 changed files with 59 additions and 3 deletions

View File

@@ -31,7 +31,9 @@ Patch1: %{name}-%{version}-warnings.diff
Patch2: %{name}-%{version}-lcall.diff
Patch3: %{name}-%{version}-cdw.diff
Patch4: %{name}-%{version}-man.diff
BuildRequires: texinfo
Patch5: indent-texi2html-5.0.patch
BuildRequires: makeinfo
BuildRequires: texi2html
Requires(pre): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -48,6 +50,7 @@ incomplete and malformed syntax.
%patch2
%patch3 -p1
%patch4
%patch5 -p1
%build
%configure
@@ -67,14 +70,14 @@ make %{?_smp_mflags} -C regression
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -f %{name}.lang
%defattr(-, root, root)
%{_bindir}/*
%doc doc/indent.html
%{_infodir}/indent.info*.gz
%{_infodir}/%{name}.info.gz
%{_mandir}/man1/indent.1.gz
%changelog