--- /dev/null
+--- poldek-0.42.2/doc/manual.xml.orig 2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/doc/manual.xml 2020-04-13 16:10:47.472359736 +0200
+@@ -44,7 +44,7 @@
+ <titleabbrev role="texinfo-node">poldek</titleabbrev>
+ <abstract role="texinfo-node">
+ <para>
+- full-featured frontend to RPM.
++ Full-featured frontend to RPM
+ </para>
+ </abstract>
+
+--- poldek-0.42.2/doc/Makefile.am.orig 2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/doc/Makefile.am 2020-04-13 16:12:58.478316683 +0200
+@@ -81,7 +81,7 @@
+ docbook2X2texi --xinclude $< -o $(@D) || docbook2texi --xinclude $< || true
+ perl -pi -e 's|\@emph\{|\@samp\{|g' poldek.texi
+ makeinfo --no-split --force poldek.texi -o $@
+- perl -pi -e 's/^\* poldek manual: \(poldek\)(.+)$$/* poldek: (poldek)$$1/' $@
++ perl -pi -e 's/^\* poldek manual: \(poldek\)\. *(.+)$$/* poldek: (poldek).\t\t\t$$1/' $@
+ rm -f *.texi
+
+ manual.html: manual.xml.xhtml.tmp
Patch1: pm-hooks.patch
Patch2: %{name}-ext-down-enable.patch
Patch3: %{name}-pc.patch
+Patch4: %{name}-info.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}
BuildRequires: autoconf >= 2.63
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%{__rm} doc/poldek.info
%{__rm} m4/libtool.m4 m4/lt*.m4
# cleanup backups after patching
%{?with_python:--with-python}
%{__make}
+%{__make} -C doc poldek.info
+
%if %{with python}
%{__make} -C python
%endif